|
Multi Resolution Molecular Dynamics 0.4.0
Multi Resolution Molecular Dynamics
|
Axis-aligned simulation box with a surrounding ghost layer. More...
#include <data/Subdomain.hpp>
Public Member Functions | |
| Subdomain ()=default | |
| Subdomain (const Point3D &minCornerArg, const Point3D &maxCornerArg, const Vector3D &ghostLayerThicknessArg) | |
| Subdomain (const Point3D &minCornerArg, const Point3D &maxCornerArg, const real_t &ghostLayerThicknessArg) | |
| void | scaleDim (const real_t &scalingFactor, const AXIS &axis) |
| void | scale (const real_t &scalingFactor) |
| real_t | getVolume () const |
| Point3D | getCenter () const |
Axis-aligned simulation box with a surrounding ghost layer.
Stores minCorner, maxCorner and ghostLayerThickness, and derives the ghost and inner corners from them. The three regions nest as follows along one axis, with X marking the ghost layer and O the owned region:
|X|O|OOOOOOOOOO |X|O|OOOOOOOOOO |X|O+---------- <-- minInnerCorner |X|OOOOOOOOOOOO |X+------------ <-- minCorner |XXXXXXXXXXXXXX +-------------- <-- minGhostCorner
|
default |
|
inline |
|
inline |
| Point3D mrmd::data::Subdomain::getCenter | ( | ) | const |
| real_t mrmd::data::Subdomain::getVolume | ( | ) | const |
| void mrmd::data::Subdomain::scale | ( | const real_t & | scalingFactor | ) |
| Vector3D mrmd::data::Subdomain::diameter |
| Vector3D mrmd::data::Subdomain::diameterWithGhostLayer |
| Point3D mrmd::data::Subdomain::ghostLayerThickness |
| Point3D mrmd::data::Subdomain::maxCorner |
| Point3D mrmd::data::Subdomain::maxGhostCorner |
| Point3D mrmd::data::Subdomain::maxInnerCorner |
| Point3D mrmd::data::Subdomain::minCorner |
| Point3D mrmd::data::Subdomain::minGhostCorner |
| Point3D mrmd::data::Subdomain::minInnerCorner |