(git:6a2e663)
|
Environment storing all data that is needed in order to call the DFT driver of the PEXSI library with data from the linear scaling quickstep SCF environment, mainly parameters and intermediate data for the matrix conversion between DBCSR and CSR format. More...
Functions/Subroutines | |
subroutine, public | lib_pexsi_init (pexsi_env, mp_group, nspin) |
Initialize PEXSI. More... | |
subroutine, public | lib_pexsi_finalize (pexsi_env) |
Release all PEXSI data. More... | |
subroutine, public | convert_nspin_cp2k_pexsi (direction, numElectron, matrix_p, matrix_w, kTS) |
Scale various quantities with factors of 2. This converts spin restricted DFT calculations (PEXSI) to the unrestricted case (as is the case where the density matrix method is called in the linear scaling code). More... | |
Variables | |
integer, parameter, public | cp2k_to_pexsi = 1 |
integer, parameter, public | pexsi_to_cp2k = 2 |
Environment storing all data that is needed in order to call the DFT driver of the PEXSI library with data from the linear scaling quickstep SCF environment, mainly parameters and intermediate data for the matrix conversion between DBCSR and CSR format.
subroutine, public pexsi_types::lib_pexsi_init | ( | type(lib_pexsi_env), intent(inout) | pexsi_env, |
class(mp_comm_type), intent(in) | mp_group, | ||
integer, intent(in) | nspin | ||
) |
Initialize PEXSI.
pexsi_env | All data needed by PEXSI |
mp_group | message-passing group ID |
nspin | number of spins |
Definition at line 120 of file pexsi_types.F.
subroutine, public pexsi_types::lib_pexsi_finalize | ( | type(lib_pexsi_env), intent(inout) | pexsi_env | ) |
Release all PEXSI data.
pexsi_env | ... |
Definition at line 201 of file pexsi_types.F.
subroutine, public pexsi_types::convert_nspin_cp2k_pexsi | ( | integer, intent(in) | direction, |
real(kind=dp), intent(inout), optional | numElectron, | ||
type(dbcsr_type), intent(inout), optional | matrix_p, | ||
type(dbcsr_p_type), intent(inout), optional | matrix_w, | ||
real(kind=dp), intent(inout), optional | kTS | ||
) |
Scale various quantities with factors of 2. This converts spin restricted DFT calculations (PEXSI) to the unrestricted case (as is the case where the density matrix method is called in the linear scaling code).
[in] | direction | ... |
[in,out] | numElectron | ... |
matrix_p | ... | |
matrix_w | ... | |
kTS | ... |
Definition at line 232 of file pexsi_types.F.
integer, parameter, public pexsi_types::cp2k_to_pexsi = 1 |
Definition at line 48 of file pexsi_types.F.
integer, parameter, public pexsi_types::pexsi_to_cp2k = 2 |
Definition at line 48 of file pexsi_types.F.