Exemplo n.º 1
0
 def todict(self):
     d = MolecularDynamics.todict(self)
     d.update({
         'temperature': self.temp,
         'friction': self.fr,
         'fix-cm': self.fixcm
     })
     return d
Exemplo n.º 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
Exemplo n.º 3
0
 def todict(self):
     d = MolecularDynamics.todict(self)
     d.update({'temperature': self.temp,
               'friction': self.fr,
               'fix-cm': self.fixcm})
     return d