![]() |
(git:b77b4be)
|
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...
Data Types | |
type | lib_pexsi_env |
All PEXSI related data. More... | |
Functions/Subroutines | |
subroutine, public | lib_pexsi_init (pexsi_env, mp_group, nspin) |
Initialize PEXSI. | |
subroutine, public | lib_pexsi_finalize (pexsi_env) |
Release all PEXSI data. | |
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). | |
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 125 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 206 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 237 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.