qimpy.dft.geometry.Geometry
- class Geometry(*, group, lattice, checkpoint_in=(None, ''), fixed=None, relax=None, dynamics=None)
Bases:
TreeNodeSelect between possible geometry actions.
- Parameters:
group (dist.ProcessGroup)
lattice (Lattice)
checkpoint_in (CheckpointPath)
fixed (dict | Fixed | None)
relax (dict | Relax | None)
dynamics (dict | Dynamics | None)
- __init__(*, group, lattice, checkpoint_in=(None, ''), fixed=None, relax=None, dynamics=None)
Specify one of the supported geometry actions. Defaults to Fixed if none specified.
- Parameters:
fixed (dict | Fixed | None) – [Input file] Electronic optimization only at a fixed geometry.
relax (dict | Relax | None) – [Input file] Geometry relaxation of ions, and optionally, also the lattice.
dynamics (dict | Dynamics | None) – [Input file] Molecular dynamics of ions, and optionally, also the lattice.
group (ProcessGroup)
lattice (Lattice)
checkpoint_in (CheckpointPath)
- Return type:
None
Methods
Specify one of the supported geometry actions.
add_childConstruct child object self.`attr_name` of type cls.
add_child_one_ofInvoke add_child on one of several child options in args.
Run selected geometry action.
save_checkpointSave self and all children in hierarchy to cp_path.
Attributes
actionchild_namesNames of attributes with child objects.
variant_nameVersion of children having variants (if any)