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...
|
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).
|
|
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.
- History
- 2014.11 created [Patrick Seewald]
- Author
- Patrick Seewald
◆ lib_pexsi_init()
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.
- Parameters
-
pexsi_env | All data needed by PEXSI |
mp_group | message-passing group ID |
nspin | number of spins |
- History
- 11.2014 created [Patrick Seewald]
- Author
- Patrick Seewald
Definition at line 120 of file pexsi_types.F.
◆ lib_pexsi_finalize()
subroutine, public pexsi_types::lib_pexsi_finalize |
( |
type(lib_pexsi_env), intent(inout) |
pexsi_env | ) |
|
Release all PEXSI data.
- Parameters
-
- History
- 11.2014 created [Patrick Seewald]
- Author
- Patrick Seewald
Definition at line 201 of file pexsi_types.F.
◆ convert_nspin_cp2k_pexsi()
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).
- Parameters
-
[in] | direction | ... |
[in,out] | numElectron | ... |
| matrix_p | ... |
| matrix_w | ... |
| kTS | ... |
- History
- 01.2015 created [Patrick Seewald]
- Author
- Patrick Seewald
Definition at line 232 of file pexsi_types.F.
◆ cp2k_to_pexsi
integer, parameter, public pexsi_types::cp2k_to_pexsi = 1 |
◆ pexsi_to_cp2k
integer, parameter, public pexsi_types::pexsi_to_cp2k = 2 |