Interpolate¶
- class hoomd.variant.box.Interpolate(initial_box, final_box, variant)¶
Bases:
BoxVariantInterpolate between two boxes linearly.
- Parameters:
initial_box (hoomd.box.box_like) – The initial box.
final_box (hoomd.box.box_like) – The final box.
variant (hoomd.variant.variant_like) – A variant used to interpolate between the two boxes.
Interpolatereturns arrays corresponding to a linear interpolation between the initial and final boxes where the minimum of the variant givesinitial_boxand the maximum givesfinal_box:Where
initial_boxis ,final_boxis , , is the timestep, and is given byvariant.
Members inherited from
BoxVariant:- __call__()¶
Evaluate the function.
Read more...
Members defined in
Interpolate:- variant¶
A variant used to interpolate between the two boxes.
- Type:
- __reduce__()¶
Reduce values to picklable format.