xc_consumer_ks_t Derived Type

type, public, extends(xc_consumer_t) :: xc_consumer_ks_t


Inherits

type~~xc_consumer_ks_t~~InheritsGraph type~xc_consumer_ks_t xc_consumer_ks_t type~xc_consumer_t xc_consumer_t type~xc_consumer_ks_t->type~xc_consumer_t type~par_env_t par_env_t type~xc_consumer_t->type~par_env_t pe

Components

Type Visibility Attributes Name Initial
real(kind=fp), public :: E_xc
real(kind=fp), public :: E_exch
real(kind=fp), public :: E_corr
real(kind=fp), public :: N_elec
real(kind=fp), public :: E_kin
real(kind=fp), public :: G_total(3)
type(par_env_t), public :: pe
real(kind=fp), public, allocatable :: fa2(:,:)
real(kind=fp), public, allocatable :: fb2(:,:)
real(kind=fp), public, allocatable :: focks_(:,:)
real(kind=fp), public, allocatable :: tmp_(:,:)

Type-Bound Procedures

procedure, public :: parallel_start

  • private subroutine parallel_start(self, xce, nthreads)

    Arguments

    Type IntentOptional Attributes Name
    class(xc_consumer_ks_t), intent(inout), target :: self
    class(xc_engine_t), intent(in) :: xce
    integer, intent(in) :: nthreads

procedure, public :: parallel_stop

  • private subroutine parallel_stop(self)

    Arguments

    Type IntentOptional Attributes Name
    class(xc_consumer_ks_t), intent(inout) :: self

procedure, public :: resetOrbPointers

  • private subroutine resetOrbPointers(self, xce, focks, tmp, fock_a, fock_b, myThread)

    @brief Adjust internal memory storage for a given number of pruned grid points @author Konstantin Komarov

    Arguments

    Type IntentOptional Attributes Name
    class(xc_consumer_ks_t), intent(inout), target :: self
    class(xc_engine_t), intent(in) :: xce
    real(kind=fp), intent(out), pointer :: focks(:,:,:)
    real(kind=fp), intent(out), optional, pointer :: tmp(:,:,:)
    real(kind=fp), intent(out), optional, pointer :: fock_a(:,:)
    real(kind=fp), intent(out), optional, pointer :: fock_b(:,:)
    integer, intent(in) :: myThread

procedure, public :: update

  • private subroutine update(self, xce, mythread)

    Arguments

    Type IntentOptional Attributes Name
    class(xc_consumer_ks_t), intent(inout) :: self
    class(xc_engine_t), intent(in) :: xce
    integer :: mythread

procedure, public :: postUpdate

  • private subroutine postUpdate(self, xce, mythread)

    Arguments

    Type IntentOptional Attributes Name
    class(xc_consumer_ks_t), intent(inout) :: self
    class(xc_engine_t), intent(in) :: xce
    integer :: mythread

procedure, public :: clean

  • private subroutine clean(self)

    Arguments

    Type IntentOptional Attributes Name
    class(xc_consumer_ks_t), intent(inout) :: self