Пример #1
0
def test_dot_hessian_x_pbe_cs_polynomial():
    mol, olp, kin, na, ham = setup_gga_cs('x_pbe')
    check_dot_hessian_polynomial(olp,
                                 kin + na,
                                 ham, [mol.orb_alpha],
                                 is_hf=False,
                                 extent=0.00005)
Пример #2
0
def test_dot_hessian_o3lyp_cs_polynomial():
    mol, olp, kin, na, ham = setup_o3lyp_cs()
    check_dot_hessian_polynomial(olp,
                                 kin + na,
                                 ham, [mol.orb_alpha],
                                 is_hf=False,
                                 extent=0.00001)
Пример #3
0
def test_dot_hessian_uhf_polynomial():
    mol, olp, core, ham = setup_uhf_case()
    check_dot_hessian_polynomial(olp, core, ham, [mol.exp_alpha, mol.exp_beta])
Пример #4
0
def test_dot_hessian_x_pbe_cs_polynomial():
    mol, olp, kin, na, ham = setup_gga_cs('x_pbe')
    check_dot_hessian_polynomial(olp, kin+na, ham, [mol.orb_alpha], is_hf=False, extent=0.00005)
Пример #5
0
def test_dot_hessian_o3lyp_cs_polynomial():
    mol, olp, kin, na, ham = setup_o3lyp_cs()
    check_dot_hessian_polynomial(olp, kin+na, ham, [mol.orb_alpha], is_hf=False, extent=0.00001)
Пример #6
0
def test_dot_hessian_uhf_polynomial():
    mol, olp, core, ham = setup_uhf_case()
    check_dot_hessian_polynomial(olp, core, ham, [mol.exp_alpha, mol.exp_beta])
Пример #7
0
def test_dot_hessian_x_pbe_cs_polynomial():
    mol, olp, kin, na, ham = setup_gga_cs('x_pbe')
    core = kin.copy()
    core.iadd(na)
    check_dot_hessian_polynomial(olp, core, ham, [mol.exp_alpha], is_hf=False, extent=0.00005)
Пример #8
0
def test_dot_hessian_rhf_polynomial_cholesky():
    mol, olp, core, ham = setup_rhf_case(True)
    check_dot_hessian_polynomial(olp, core, ham, [mol.orb_alpha])