Fixed Value#
Module for defining the fixed value equation.
- class FixedValue(value, components=None)[source]#
Bases:
EquationEquation to enforce a fixed value. Can be used to enforce Dirichlet Boundary conditions.
Initialization of the
FixedValueclass.- Parameters:
- Raises:
ValueError – If
valueis neither a float nor an integer.ValueError – If, when provided,
componentsis neither a string nor a list of strings.