Constant¶
- class hoomd.variant.Constant(value)¶
Bases:
Variant
A constant value.
- Parameters:
value (float) – The value.
Constant
returnsvalue
at all time steps.Example:
variant = hoomd.variant.Constant(1.0)
Members inherited from
Variant
:- __call__()¶
Evaluate the function.
Read more...
- property max¶
Maximum value of the variant.
Read more...
- property min¶
Minimum value of the variant.
Read more...
Members defined in
Constant
: