def make_default(cls): """Used to make the default value of the outputs class for use when no output is specified. Needed since this is a fairly complicated default, with many mutable objects, and the default has to be generated by a function that does not use any mutable objects as arguments. """ return [ eoutputs.PropertyOutput(filename="i-pi.md", stride=10, outlist=[ "time", "step", "conserved", "temperature", "potential", "kinetic_cv" ]), eoutputs.TrajectoryOutput(filename="i-pi.pos", stride=100, what="positions", format="xyz"), eoutputs.CheckpointOutput(filename="i-pi.checkpoint", stride=1000, overwrite=True) ]
def fetch(self): """Returns a PropertyOutput object.""" return eoutputs.PropertyOutput(filename=self.filename.fetch(), stride=self.stride.fetch(), flush=self.flush.fetch(), outlist=super(InputProperties, self).fetch())