aiida_vasp.utils.opthold#
Module containing the OptionHolder class
Module Contents#
Classes#
Base class for a container of options |
|
Schema for the .settings port used by both VaspCalculation and VaspWorkChain |
|
Options for VaspRelaxWorkChain |
|
Template for the Dict node controlling the workchain behaviour |
|
Options for VaspRelaxWorkChain |
API#
- class aiida_vasp.utils.opthold.OptionContainer(/, **data: typing.Any)[source]#
Bases:
pydantic.BaseModelBase class for a container of options
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- classmethod aiida_validate(input_dict: dict | aiida.orm.Dict, namespace: None | str = None) None[source]#
Validate a dictionary/Dict node, this can be used as the validator for the Port accepting the inputs
This is used as validator for the spec.input call.
- class aiida_vasp.utils.opthold.CalcSettingsConfig(/, **data: typing.Any)[source]#
Bases:
aiida_vasp.utils.opthold.OptionContainerSchema for the .settings port used by both VaspCalculation and VaspWorkChain
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class aiida_vasp.utils.opthold.RelaxOptions(/, **data: typing.Any)[source]#
Bases:
aiida_vasp.utils.opthold.OptionContainerOptions for VaspRelaxWorkChain
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class aiida_vasp.utils.opthold.ConvOptions(/, **data: typing.Any)[source]#
Bases:
aiida_vasp.utils.opthold.OptionContainerTemplate for the Dict node controlling the workchain behaviour
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- class aiida_vasp.utils.opthold.BandOptions(/, **data: typing.Any)[source]#
Bases:
aiida_vasp.utils.opthold.OptionContainerOptions for VaspRelaxWorkChain
Initialization
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.