Exemplo n.º 1
0
Arquivo: df.py Projeto: zzy2014/pyscf
    def get_jk(self, dm, hermi=1, with_j=True, with_k=True,
               direct_scf_tol=getattr(__config__, 'scf_hf_SCF_direct_scf_tol', 1e-13),
               omega=None):
        if omega is None:
            return df_jk.r_get_jk(self, dm, hermi, with_j, with_k)

        # A temporary treatment for RSH-DF integrals
        key = '%.6f' % omega
        if key in self._rsh_df:
            rsh_df = self._rsh_df[key]
        else:
            rsh_df = self._rsh_df[key] = copy.copy(self).reset()
            logger.info(self, 'Create RSH-DF object %s for omega=%s', rsh_df, omega)

        with rsh_df.mol.with_range_coulomb(omega):
            return df_jk.r_get_jk(rsh_df, dm, hermi, with_j, with_k)
Exemplo n.º 2
0
 def get_jk(self, dm, hermi=1, vhfopt=None, with_j=True, with_k=True):
     return df_jk.r_get_jk(self, dm, hermi)
Exemplo n.º 3
0
Arquivo: df.py Projeto: chrinide/pyscf
 def get_jk(self, dm, hermi=1, vhfopt=None, with_j=True, with_k=True):
     return df_jk.r_get_jk(self, dm, hermi)
Exemplo n.º 4
0
 def get_jk(self, dm, hermi=1, vhfopt=None, with_j=True, with_k=True):
     from pyscf.df import df_jk
     return df_jk.r_get_jk(self, dm, hermi)
Exemplo n.º 5
0
Arquivo: df.py Projeto: eronca/pyscf
 def get_jk(self, dm, hermi=1, vhfopt=None, with_j=True, with_k=True):
     from pyscf.df import df_jk
     return df_jk.r_get_jk(self, dm, hermi)