calypso.config.config module
- class calypso.config.config.Config(*args, **kwargs)
Bases:
NestedMongoDict
- classmethod inherit_default(*args, **kwargs)
- class calypso.config.config.ICode(*values)
Bases:
IntEnum
- CASTEP = 5
- CP2K = 6
- CUSTOM = 0
- DFTBPLUS = 8
- DUMMY = -1
- GAUSSIAN = 7
- GULP = 3
- LAMMPS = 9
- MLP = 15
- PWSCF = 4
- SIESTA = 2
- VASP = 1
- class calypso.config.config.IFit(*values)
Bases:
IntEnum
- ENTHALPY = 1
- GIBBS = 3
- HARDNESS = 2
- MAGMOM = 5
- NAN = 0
- XRD = 4
- class calypso.config.config.IType(*values)
Bases:
IntEnum
- ADSORPTION = 7
- CLUSTER = 2
- CRYSTAL = 1
- DUMMY = 0
- INTERFACE = 6
- LAYER = 4
- MOLECULAR = 3
- SURFACE = 5
- TRANSITION = 8
- calypso.config.config.convert(finput: str | Path, foutput: str | Path, input_format: str | None = None, output_format: str | None = None)
- calypso.config.config.merge_dict(toml_dict: dict, inputdat_dict: dict, workpath: str | Path | None = None)
Merge parameters from inputdat_dict (parsed from input.dat) into toml_dict (parsed from input.toml).
This function handles the merging of parameters from the input.dat file into the existing toml_dict, ensuring that all necessary configurations are included, such as machine settings, calculation parameters, and generator settings.