MPI-SCATCI
2.0
An MPI version of SCATCI
|
Target Rmat CI module. More...
Data Types | |
type | target_rmat_ci |
This class handles the storage of target CI coefficients. More... | |
Functions/Subroutines | |
subroutine | initialize_cirmat (this, set, nstat, num_csfs, phase_, core_energy) |
Sets up and allocates eigenvalues and eigenvectors. More... | |
subroutine | print_cirmat (this) |
Prints the eigen-energies of the target states stored. More... | |
subroutine | print_vecs (this) |
Print vectors to standard output. More... | |
real(wp) function | get_coefficient_ci (this, target_state, configuration_idx) |
Get the specific coefficient for a target state and configuration. More... | |
subroutine, public | read_ci_mat (option, cirmats) |
Reads the target coefficients from file. More... | |
subroutine | store_eigenvalues (this, eigenvalues, diagonals, num_eigenpairs, vec_dimen) |
Save eigenvalues from diagonalizer. More... | |
subroutine | store_eigenvector (this, eigenvector, vec_dimen) |
Save eigenvector from diagonalizer. More... | |
subroutine | export_eigenvalues (this, eigenvalues, diagonals, num_eigenpairs, vec_dimen, ei, iphz) |
To be overriden by derived types. More... | |
subroutine | modify_diagonal (this, value) |
Dummy subroutine. More... | |
subroutine | modify_l2_diagonal (this, value) |
Dummy subroutine. More... | |
Target Rmat CI module.
Handles the storage of the target coefficients for the contracted Hamiltonian.
|
private |
To be overriden by derived types.
This subroutine body was added so that Target_RMat_CI does not need to be abstract
. Otherwise there were problems with compilation using non-Intel compilers.
Definition at line 285 of file Target_RMat_CI_module.f90.
|
private |
Get the specific coefficient for a target state and configuration.
[in] | this | Target CI object to query. |
[in] | target_state | Which target state to get from. |
[in] | configuration_idx | Which particular coefficient to get. |
Definition at line 171 of file Target_RMat_CI_module.f90.
|
private |
Sets up and allocates eigenvalues and eigenvectors.
[in,out] | this | Target CI object to initialize. |
[in] | set | Which CI set this belongs to |
[in] | nstat | Number of eigenpairs/target states |
[in] | num_csfs | Size of the eigenvectors/number of ci coefficients per target state |
[in] | phase_ | Not used |
[in] | core_energy | Core energy used for eigenvalue printing |
Definition at line 89 of file Target_RMat_CI_module.f90.
subroutine target_rmat_ci_module::modify_diagonal | ( | class(target_rmat_ci), intent(in) | this, |
real(wp), intent(inout) | value | ||
) |
|
private |
|
private |
Prints the eigen-energies of the target states stored.
Definition at line 127 of file Target_RMat_CI_module.f90.
|
private |
Print vectors to standard output.
Definition at line 147 of file Target_RMat_CI_module.f90.
subroutine, public target_rmat_ci_module::read_ci_mat | ( | class(options), intent(in) | option, |
class(target_rmat_ci), dimension(:), intent(inout) | cirmats | ||
) |
Reads the target coefficients from file.
[in] | option | An initialized Options object. |
[in] | cirmats | An allocated and initialized array of target CI objects. |
Definition at line 187 of file Target_RMat_CI_module.f90.
|
private |
Save eigenvalues from diagonalizer.
Copy eigenvalues obtained by the diagonalizer to internal storage of Target_RMat_CI.
Definition at line 247 of file Target_RMat_CI_module.f90.
|
private |
Save eigenvector from diagonalizer.
Copy eigenvector obtained by the diagonalizer to internal storage of Target_RMat_CI.
Definition at line 267 of file Target_RMat_CI_module.f90.