qimpy.dft.geometry.thermostat.Thermostat

class Thermostat(*, dynamics, checkpoint_in=CheckpointPath(checkpoint=None, path=''), nve=None, nose_hoover=None, berendsen=None, langevin=None)

Bases: TreeNode

Select between possible geometry actions.

Parameters
__init__(*, dynamics, checkpoint_in=CheckpointPath(checkpoint=None, path=''), nve=None, nose_hoover=None, berendsen=None, langevin=None)

Specify one of the supported thermostat methods. Defaults to NVE if none specified.

Parameters
Return type

None

Methods

__init__

Specify one of the supported thermostat methods.

add_child

Construct child object self.`attr_name` of type cls.

add_child_one_of

Invoke add_child on one of several child options in args.

save_checkpoint

Save self and all children in hierarchy to cp_path.

Attributes

method