InputValue

class ase2sprkkr.input_parameters.input_parameters.InputValue(definition, container=None, value=None)[source]

Input-file option supporting a default specific to one parameter instance.

Class hierarchy

Inheritance diagram of ase2sprkkr.input_parameters.input_parameters.InputValue


Constructor

__init__(definition, container=None, value=None)

” :param definition: The value type of the option and its format (in potential and/or task file) :type definition: ValueDefinition :param container: The container, that owns the object :param value: The value of the option. :type value: mixed

property default_value

Return an instance-specific override of the definition default.

set_default(value)[source]

Override this instance’s definition default without setting a value.

clear_default()[source]

Restore the default supplied by the input-parameter definition.