Constant

class hoomd.variant.box.Constant(box)

Bases: BoxVariant

A constant box variant.

Parameters:

box (hoomd.box.box_like) – The box.

Constant returns [box.Lx, box.Ly, box.Lz, box.xz, box.xz, box.yz] at all time steps.


Members inherited from BoxVariant:

__call__()

Evaluate the function. Read more...


Members defined in Constant:

__reduce__()

Reduce values to picklable format.

property box

The box.

Type:

hoomd.Box