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

Methods
Initialize self.
Parameters for the region.
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 of the region.
-
style¶
-