- openpnm.models.misc.basic_math.constant(target, value)¶
Places the given constant value into the target object
target (Base) – The object which this model is associated with. This controls the length of the calculated array, and also provides access to other necessary properties.
value (scalar) – The numerical value to apply
value – Array containing constant values equal to
- Return type
This model is mostly useless and for testing purposes, but might be used to ‘reset’ an array back to a default value.