Ramp¶
- class hoomd.variant.Ramp(A, B, t_start, t_ramp)¶
Bases:
Variant
A linear ramp.
- Parameters:
Ramp
holds the value A until time t_start. Then it ramps linearly from A to B over t_ramp steps and holds the value B.Example:
variant = hoomd.variant.Ramp( A=1.0, B=2.0, t_start=10_000, t_ramp=100_000 )
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
Ramp
: