ppap4lmp
0.7.2
|
StaDumpBox reads a Lammps' dump file and sets properties for simulation box. More...
#include <sta_dump_box.h>
Public Member Functions | |
StaDump (const Str &filepath_, const int timestep_) | |
Constructor of StaDump class. More... | |
![]() | |
StaDump (const Str &filepath_, const int timestep_) | |
Constructor of StaDump class. More... | |
![]() | |
Updater ()=default | |
Constructor of Updater class. More... | |
![]() | |
Updater ()=default | |
Constructor of Updater class. More... | |
void | compute (const ElPtr &elem, const int elementid, Json &data) |
Managing computation to update Element::data. More... | |
void | remove_from_skippable_elementids (const int elementid) |
Remove Element::elementid from skippable_elementids. More... | |
const ShPtr< Generator > & | get_ext_generator () |
Get ext_generator of this object. More... | |
Protected Member Functions | |
virtual void | compute_impl (Json &data, JsonToVoidFunc check_required_keys, JsonToBoolFunc check_optional_keys) override |
This method overrides Updater::compute_impl. More... | |
![]() | |
virtual void | compute_body (const ElPtr &elem, Json &data) override |
Compute or parse properties and set them to Element::data given as a mutable reference. More... | |
![]() | |
virtual void | compute_common (const ElPtr &elem, Json &data) |
Common part of compute_body. More... | |
Additional Inherited Members | |
![]() | |
int | timestep |
Str | filepath |
![]() | |
ShPtr< Generator > | ext_generator |
![]() | |
static const bool | do_sorting_by_id = true |
StaDumpBox reads a Lammps' dump file and sets properties for simulation box.
An object of this class reads properties of simulation box from a Lammps' dump file specified by filepath. Note that only properties at a time specified by timestep are read.
About usage in Python, please see pybind::py_sta_dump_box.
Definition at line 25 of file sta_dump_box.h.
|
overrideprotectedvirtual |
This method overrides Updater::compute_impl.
pbc_x
: booleanpbc_y
: booleanpbc_z
: booleanlo_x
: floatlo_y
: floatlo_z
: floathi_x
: floathi_y
: floathi_z
: float Implements Updater.
Definition at line 19 of file sta_dump_box.cpp.
StaDump::StaDump |
Constructor of StaDump class.
filepath_ | A path to a Lammps' dump file to be read. This parameter is assigned to filepath. |
timestep_ | A timestep of simulation to be read. This parameter is assigned to timestep. |
Definition at line 13 of file sta_dump.cpp.