예제 #1
0
 def __call__(self, configs, wf):
     ee, ei, ii = self.coulomb.energy(configs)
     ecp_val = eval_ecp.ecp(self.mol, configs, wf, self.threshold)
     ke, grad2 = energy.kinetic(configs, wf)
     return {
         "ke": ke,
         "ee": ee,
         "ei": ei,
         "ecp": ecp_val,
         "grad2": grad2,
         "total": ke + ee + ei + ecp_val + ii,
     }
예제 #2
0
파일: energy.py 프로젝트: shivupa/pyqmc
def get_ecp(mol, configs, wf):
    return eval_ecp.ecp(mol, configs, wf)
예제 #3
0
def get_ecp(mol, configs, wf, threshold):
    return eval_ecp.ecp(mol, configs, wf, threshold)