aiida_lammps.workflows.relax
#
Workflow for the relaxation of a structure using the minimization procedure in LAMMPS.
Module Contents#
Classes#
Workchain to relax a structure using the LAMMPS minimization procedure. |
- class aiida_lammps.workflows.relax.LammpsRelaxWorkChain(inputs: dict | None = None, logger: logging.Logger | None = None, runner: aiida.engine.runners.Runner | None = None, enable_persistence: bool = True)[source]#
Bases:
aiida.engine.WorkChain
Workchain to relax a structure using the LAMMPS minimization procedure.
- classmethod _validate_parameters(value, ctx) str | None [source]#
Validate the input parameters and compares them against a schema.
Takes the input parameters dictionaries that will be used to generate the LAMMPS input parameter and will be checked against a schema for validation.
- classmethod _validate_relaxation_algorithms(value, ctx) str | None [source]#
Validate the algorithm used for the relaxation of the structure
- classmethod _validate_pressure_dictionary(value, ctx) str | None [source]#
Validate that the pressure dictionary does not have entries that are not permitted
- classmethod validate_inputs(value, ctx) str | None [source]#
Validate the global inputs of the calculation
- _generate_minimize_block() aiida.common.AttributeDict [source]#
Generate the minimization block for the parameters
- _generate_fix_box_relax() list [source]#
Generate the parameters needed for the fix box/relax depending on the inputs given.
- Returns:
list with the information about fix the box/relax
- Return type: