box¶
Box-adjacent types.
- hoomd.box.box_like¶
Objects that are or can be converted to
Box.This includes
hoomd.Boxobjects.Objects with attributes
Lx, Ly, Lz, xy, xz, yz.Lists like
[Lx, Ly, Lz, xy, xz, yz].Dictionaries with keys
'Lx', 'Ly', 'Lz', 'xy', 'xz', 'yz'.3x3 NumPy arrays or objects convertible to a 3x3 array (see
hoomd.Box.from_matrix).
Note
If any of
Lz, xy, xz, yzfor these different types are not provided, they are considered 0.alias of
Box|BoxInterface|Sequence[float] |Mapping[str,float] |ndarray
Classes