Exemple #1
0
 def __init__(self, atoms, 
              timestep, temperature, externalstress, ttime, pfactor,
              mask=None, trajectory=None, logfile=None, loginterval=1):
     ParallelMolDynMixin.__init__(self, 'NPT', atoms)
     aseNPT.__init__(self, atoms, 
              timestep, temperature, externalstress, ttime, pfactor,
              mask=mask, trajectory=trajectory, logfile=logfile,
              loginterval=loginterval)
Exemple #2
0
    def __init__(self, atoms, timestep, temperature, externalstress, 
            ttime, pfactor, mask=None, trajectory=None, **kwargs):

        NPT.__init__(self, atoms, timestep, temperature,
                     externalstress, ttime, pfactor, mask,
                     trajectory)

        OTF.__init__(self, **kwargs)

        self.md_engine = 'NPT'
Exemple #3
0
 def __init__(self,
              atoms,
              timestep,
              temperature,
              externalstress,
              ttime,
              pfactor,
              mask=None,
              trajectory=None,
              logfile=None,
              loginterval=1):
     ParallelMolDynMixin.__init__(self, 'NPT', atoms)
     aseNPT.__init__(self,
                     atoms,
                     timestep,
                     temperature,
                     externalstress,
                     ttime,
                     pfactor,
                     mask=mask,
                     trajectory=trajectory,
                     logfile=logfile,
                     loginterval=loginterval)
Exemple #4
0
 def __init__(self, atoms, *args, **kwargs):
     aseNPT.__init__(self, atoms, *args, **kwargs)
     if getattr(atoms, "parallel", False):
         raise NotImplementedError("NPT dynamics does not work in parallel with this version of ASE.  Please use the developer version.")
Exemple #5
0
 def __init__(self, atoms, *args, **kwargs):
     aseNPT.__init__(self, atoms, *args, **kwargs)
     if getattr(atoms, "parallel", False):
         raise NotImplementedError(
             "NPT dynamics does not work in parallel with this version of ASE.  Please use the developer version."
         )