variant

A Variant object represents a function of the time step. Some operations accept Variant values for certain parameters, such as the kT parameter to hoomd.md.methods.thermostats.Bussi.

See Variant for details on creating user-defined variants or use one of the provided subclasses.

hoomd.variant.variant_like

Objects that are like a variant.

Any subclass of Variant is accepted along with float instances and objects convertible to float. They are internally converted to variants of type Constant via Constant(float(a)) where a is the float or float convertible object.

Attributes that are Variant objects can be set via a variant_like object. alias of Variant | float

alias of Variant | float

Modules

Classes