示例#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)