Constant¶
- class hoomd.variant.Constant(value)¶
Bases:
VariantA constant value.
- Parameters:
value (float) – The value.
Constantreturnsvalueat 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: