Exemple #1
0
 def todict(self):
     d = MolecularDynamics.todict(self)
     d.update({
         'temperature': self.temp,
         'friction': self.fr,
         'fix-cm': self.fixcm
     })
     return d
Exemple #2
0
 def todict(self):
     d = MolecularDynamics.todict(self)
     d.update({
         'temperature_K': self.temp / units.kB,
         'friction': self.fr,
         'fixcm': self.fix_com
     })
     return d
Exemple #3
0
 def todict(self):
     d = MolecularDynamics.todict(self)
     d.update({'temperature': self.temp,
               'friction': self.fr,
               'fix-cm': self.fixcm})
     return d