Check for positive CC correlation energies (instability warning) Correlation energies should be negative; positive values indicate instability
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cc_energy_t), | intent(in) | :: | this |
subroutine cc_check_stability(this) !! Check for positive CC correlation energies (instability warning) !! Correlation energies should be negative; positive values indicate instability use pic_logger, only: logger => global_logger class(cc_energy_t), intent(in) :: this if (this%singles > 0.0_dp) then call logger%warning("CC singles correlation energy is positive - possible instability!") end if if (this%doubles > 0.0_dp) then call logger%warning("CC doubles correlation energy is positive - possible instability!") end if if (this%triples > 0.0_dp) then call logger%warning("CC triples correlation energy is positive - possible instability!") end if end subroutine cc_check_stability