def test_eomee_diag2(self): vec1S, vec1T, vec2 = eom_rccsd.EOMEE(mycc21).get_diag() self.assertAlmostEqual(lib.finger(vec1S), -4714.9854130015719, 9) self.assertAlmostEqual(lib.finger(vec1T), 2221.3155272953709, 9) self.assertAlmostEqual(lib.finger(vec2), -5486.1611871545592, 9)
def test_eomee_diag3(self): vec1S, vec1T, vec2 = eom_rccsd.EOMEE(mycc31).get_diag() self.assertAlmostEqual(lib.finger(vec1S), -2881.6804563818432, 9) self.assertAlmostEqual(lib.finger(vec1T), 2039.7385969969259, 9) self.assertAlmostEqual(lib.finger(vec2), -4271.6230465236358, 9)
def test_df_eomee_diag(self): vec1S, vec1T, vec2 = eom_rccsd.EOMEE(mycc1).get_diag() self.assertAlmostEqual(lib.finger(vec1S), 213.16715890265095, 9) self.assertAlmostEqual(lib.finger(vec1T), -857.23800705535234, 9) self.assertAlmostEqual(lib.finger(vec2), 14.360296355284504, 9)