ppap4lmp
0.7.2
|
AddWrappedPosition adds wrapped positions for an Element object. More...
#include <add_wrapped_position.h>
Public Member Functions | |
AddWrappedPosition (const ElPtr &elem) | |
Constructor of AddWrappedPosition 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 properties and add 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 | |
![]() | |
ShPtr< Generator > | ext_generator |
AddWrappedPosition adds wrapped positions for an Element object.
Wrapping is a process to resolve periodic boundary condition; wrapped positions are in the original simulation box.
About usage in Python, please see pybind::py_add_wrapped_position.
Definition at line 24 of file add_wrapped_position.h.
AddWrappedPosition::AddWrappedPosition | ( | const ElPtr & | elem | ) |
Constructor of AddWrappedPosition class.
elem | An Element object for a simulation box. This parameter is assigned to ext_generator.
|
Definition at line 13 of file add_wrapped_position.cpp.
|
overrideprotectedvirtual |
This method overrides Updater::compute_impl.
x
: floaty
: floatz
: float xu
: floatyu
: floatzu
: float Implements Updater.
Definition at line 21 of file add_wrapped_position.cpp.