narupatools.lammps.computes¶
Defining and extracting computes from LAMMPS.
Module Attributes
|
Compute that calculates the kinetic energy. |
Functions
Create a new atom property compute. |
|
Create a new local bond property compute. |
|
Create a new local property compute. |
-
narupatools.lammps.computes.AtomProperty(lammps: narupatools.lammps._wrapper.LAMMPSWrapper, *, compute_id: str, properties: List[str], datatype: Literal[lammps.LAMMPS_DOUBLE, lammps.LAMMPS_INT]) → narupatools.lammps.computes.ComputeAtomReference[numpy.ndarray[Any, numpy.dtype[numpy.float64]]]¶ Create a new atom property compute.
This creates a new compute using the ‘property/atom’ style.
-
narupatools.lammps.computes.BondLocal(lammps: narupatools.lammps._wrapper.LAMMPSWrapper, *, compute_id: str, properties: List[str]) → narupatools.lammps.computes.ComputeReference[numpy.ndarray[Any, numpy.dtype[numpy.float64]]]¶ Create a new local bond property compute.
This creates a new compute using the ‘property/local’ style.
-
narupatools.lammps.computes.LocalProperty(lammps: narupatools.lammps._wrapper.LAMMPSWrapper, *, compute_id: str, properties: List[str]) → narupatools.lammps.computes.ComputeReference[numpy.ndarray[Any, numpy.dtype[numpy.float64]]]¶ Create a new local property compute.
This creates a new compute using the ‘property/local’ style.
Classes
|
Reference to a per-atom compute, which can be used with extract_compute or gather. |
|
Reference to a previously defined LAMMPS global compute. |
|
Definition of a LAMMPS compute style. |
|
Reference to a local compute. |
Reference to a previously defined LAMMPS compute. |