Container for MP2 energy components (SS/OS)
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public | :: | os | = | 0.0_dp |
Opposite-spin correlation energy (Hartree) |
|
| real(kind=dp), | public | :: | ss | = | 0.0_dp |
Same-spin correlation energy (Hartree) |
Check for positive energies (instability)
Check for positive MP2 correlation energies (instability warning) Correlation energies should be negative; positive values indicate instability
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mp2_energy_t), | intent(in) | :: | this |
Reset both components to zero
Reset both MP2 components to zero
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mp2_energy_t), | intent(inout) | :: | this |
Compute SCS-MP2 correlation
Compute SCS-MP2 (Spin-Component Scaled MP2) correlation energy SCS-MP2 uses: E_SCS = (1/3)E_SS + 1.2E_OS
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mp2_energy_t), | intent(in) | :: | this |
Compute total MP2 correlation
Compute total MP2 correlation energy
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mp2_energy_t), | intent(in) | :: | this |
type :: mp2_energy_t !! Container for MP2 energy components (SS/OS) real(dp) :: ss = 0.0_dp !! Same-spin correlation energy (Hartree) real(dp) :: os = 0.0_dp !! Opposite-spin correlation energy (Hartree) contains procedure :: total => mp2_total !! Compute total MP2 correlation procedure :: scs => mp2_scs !! Compute SCS-MP2 correlation procedure :: reset => mp2_reset !! Reset both components to zero procedure :: check_stability => mp2_check_stability !! Check for positive energies (instability) end type mp2_energy_t