Esempio n. 1
0
 def get_memory_estimates(self):
     if self.local:
         row = [('Weight corrections (fit)',
                 np.array([n in self._wcor_numbers
                           for n in self.numbers]), 0)]
     else:
         row = [('Weight corrections (fit)', np.zeros(self.natom), 1)]
     return (HirshfeldCPart.get_memory_estimates(self) +
             HirshfeldEMixin.get_memory_estimates(self) + row)
Esempio n. 2
0
 def get_memory_estimates(self):
     if self.local:
         row = [('Weight corrections (fit)', np.array([n in self._wcor_numbers for n in self.numbers]), 0)]
     else:
         row = [('Weight corrections (fit)', np.zeros(self.natom), 1)]
     return (
         HirshfeldCPart.get_memory_estimates(self) +
         HirshfeldEMixin.get_memory_estimates(self) +
         row
     )
Esempio n. 3
0
 def get_memory_estimates(self):
     return (HirshfeldCPart.get_memory_estimates(self) +
             HirshfeldIMixin.get_memory_estimates(self))
Esempio n. 4
0
 def get_memory_estimates(self):
     return (
         HirshfeldCPart.get_memory_estimates(self) +
         HirshfeldIMixin.get_memory_estimates(self)
     )