Esempio n. 1
0
File: aims.py Progetto: PHOTOX/fuase
 def get_dipole_moment(self, atoms):
     if ('dipole' not in self.parameters.get('output', []) or
         atoms.pbc.any()):
         raise NotImplementedError
     return FileIOCalculator.get_dipole_moment(self, atoms)
Esempio n. 2
0
 def get_dipole_moment(self, atoms):
     if ('dipole' not in self.parameters.get('output', [])
             or atoms.pbc.any()):
         raise PropertyNotImplementedError
     return FileIOCalculator.get_dipole_moment(self, atoms)
Esempio n. 3
0
 def get_dipole_moment(self, atoms=None):
     self.parameters['polarisation_calculate'] = True
     self.parameters['do_properties'] = True
     return FileIOCalculator.get_dipole_moment(self, atoms)