Box

class narupatools.lammps.region.Box(xlo: float, xhi: float, ylo: float, yhi: float, zlo: float, zhi: float)

Specification of an axis-aligned box for a LAMMPS simulation.

Inheritance

Inheritance diagram of Box

Methods

__init__

Initialize self.

args

Parameters for the region.

bounds

Create a specification for an axis-aligned box for a LAMMPS simulation.

__init__(xlo: float, xhi: float, ylo: float, yhi: float, zlo: float, zhi: float)

Initialize self. See help(type(self)) for accurate signature.

args(conversion: narupatools.core.units.UnitConversion)str

Parameters for the region.

Parameters

conversion – Unit conversion from Narupa to the units of the given simulation.

classmethod bounds(lower: numpy.ndarray[Any, numpy.dtype[numpy.float64]], upper: numpy.ndarray[Any, numpy.dtype[numpy.float64]])narupatools.lammps.region.Box

Create a specification for an axis-aligned box for a LAMMPS simulation.

Parameters
  • lower – Lower corner (xlo, ylo, zlo).

  • upper – Upper corner (xhi, yhi, zhi).

Returns

Box specification with given bounds.

Attributes

style

Style of the region.

style