aiida_lammps.calculations.base#
A basic plugin for performing calculations in LAMMPS using aiida.
The plugin will take the input parameters validate them against a schema
and then use them to generate the LAMMPS input file. The input file
is generated depending on the parameters provided, the type of potential,
the input structure and whether or not a restart file is provided.
Module Contents#
Classes#
A basic plugin for performing calculations in |
API#
- class aiida_lammps.calculations.base.LammpsBaseCalculation(*args, **kwargs)[source]#
Bases:
aiida.engine.CalcJobA basic plugin for performing calculations in
LAMMPSusing aiida.The plugin will take the input parameters validate them against a schema and then use them to generate the
LAMMPSinput file. The input file is generated depending on the parameters provided, the type of potential, the input structure and whether or not a restart file is provided.Initialization
Construct a CalcJob instance.
Construct the instance only if it is a sub class of CalcJob, otherwise raise InvalidOperation.
See documentation of
aiida.engine.Process.- prepare_for_submission(folder)[source]#
Create the input files from the input nodes passed to this instance of the CalcJob.
- handle_restartfiles(settings: dict, parameters: dict) dict[source]#
Get the information needed to handle the restartfiles
- Parameters:
- Raises:
aiida.common.exceptions.InputValidationError – if the name of the given restart file is not in the remote folder
- Returns:
dictionary with the information about how to handle the restartfile either for parsing, storage or input
- Return type: