Example #1
0
File: hf.py Project: pedersor/pyscf
 def convert_from_(self, mf):
     '''Convert given mean-field object to RHF'''
     addons.convert_to_rhf(mf, self)
     return self
Example #2
0
File: hf.py Project: pedersor/pyscf
 def to_rhf(self, mf):
     '''Convert the input mean-field object to a RHF/ROHF/RKS/ROKS object'''
     return addons.convert_to_rhf(mf)
Example #3
0
File: hf.py Project: sunqm/pyscf
 def convert_from_(self, mf):
     '''Convert given mean-field object to RHF'''
     addons.convert_to_rhf(mf, self)
     return self
Example #4
0
File: hf.py Project: sunqm/pyscf
 def to_rhf(self, mf):
     '''Convert the input mean-field object to a RHF/ROHF/RKS/ROKS object'''
     return addons.convert_to_rhf(mf)
Example #5
0
File: rohf.py Project: pyscf/pyscf
 def convert_from_(self, mf):
     '''Convert given mean-field object to RHF/ROHF'''
     from pyscf.pbc.scf import addons
     addons.convert_to_rhf(mf, self)
     return self
Example #6
0
 def convert_from_(self, mf):
     '''Convert given mean-field object to RHF/ROHF'''
     from pyscf.pbc.scf import addons
     addons.convert_to_rhf(mf, self)
     return self