Пример #1
0
 def get_compare_exact(self, **kwargs):
     if self.pot.periodic:
         permlist = self.get_permlist()
         boxlengths = np.ones(3) * self.pot.boxl
         measure = MeasurePeriodic(boxlengths, permlist)
         return ExactMatchPeriodic(measure, accuracy=.1)
     else:
         return BLJCluster.get_compare_exact(self, **kwargs)
Пример #2
0
 def get_compare_exact(self, **kwargs):
     if self.pot.periodic:
         permlist = self.get_permlist()
         boxlengths = np.ones(3) * self.pot.boxl
         measure = MeasurePeriodic(boxlengths, permlist)
         return ExactMatchPeriodic(measure, accuracy=.1)
     else:
         return BLJCluster.get_compare_exact(self, **kwargs)