17 vector<GaussianCore> cores;
18 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_4-31G.tm"));
19 cores.push_back(
GaussianCore({-1.43,1.108,0},
"atom_1_basis_4-31G.tm"));
20 cores.push_back(
GaussianCore({1.43,1.108,0},
"atom_1_basis_4-31G.tm"));
27 solver.setConvergenceTreshold(1e-12);
28 solver.setNIterationsMax(1e3);
29 solver.setDensityMixFactor(0.5);
31 CHECK_CLOSE(solver.energy(), -75.90736859918989, 1e-6);
34 vector<GaussianCore> cores;
35 cores.push_back(
GaussianCore({0,0,0},
"atom_1_basis_3-21G.tm"));
36 cores.push_back(
GaussianCore({1.4,0.0,0},
"atom_1_basis_3-21G.tm"));
42 solver.setConvergenceTreshold(1e-12);
43 solver.setNIterationsMax(1e3);
44 solver.setDensityMixFactor(0.5);
46 CHECK_CLOSE(-1.122933363617109, solver.energy(), 1e-6);
48 TEST(HydrogenMolecule631Gdsds) {
49 vector<GaussianCore> cores;
50 cores.push_back(
GaussianCore({0,0,0},
"atom_1_basis_6-31Gdsds.tm"));
51 cores.push_back(
GaussianCore({1.4,0.0,0},
"atom_1_basis_6-31Gdsds.tm"));
57 solver.setConvergenceTreshold(1e-12);
58 solver.setNIterationsMax(1e3);
59 solver.setDensityMixFactor(0.5);
61 CHECK_CLOSE(-1.13128434930047, solver.energy(), 1e-6);
64 vector<GaussianCore> cores;
65 cores.push_back(
GaussianCore({0,0,0},
"atom_10_basis_3-21G.tm"));
72 solver.setConvergenceTreshold(1e-12);
73 solver.setNIterationsMax(1e3);
74 solver.setDensityMixFactor(0.5);
76 CHECK_CLOSE(-127.8038245281864, solver.energy(), 1e-5);
79 vector<GaussianCore> cores;
80 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_6-311G.tm"));
81 cores.push_back(
GaussianCore({2.282,0,0},
"atom_8_basis_6-311G.tm"));
88 solver.setConvergenceTreshold(1e-12);
89 solver.setNIterationsMax(1e4);
90 solver.setDensityMixFactor(0.5);
92 CHECK_CLOSE(-149.5117583638509, solver.energy(), 1e-5);
94 TEST(OxygenSixAsterisk) {
95 vector<GaussianCore> cores;
96 cores.push_back(
GaussianCore({0,0,0},
"atom_8_basis_6-31Gds.tm"));
97 cores.push_back(
GaussianCore({2.282,0,0},
"atom_8_basis_6-31Gds.tm"));
104 solver.setConvergenceTreshold(1e-8);
105 solver.setNIterationsMax(1e4);
106 solver.setDensityMixFactor(0.5);
107 solver.setDiisEnabled(
false);
109 CHECK_CLOSE(-149.5876095851103, solver.energy(), 1e-5);