ParM
parm
A molecular dynamics library
|
The virtual interface for the shape of the space and its boundaries. More...
#include <box.hpp>
Public Member Functions | |
virtual Vec | diff (Vec r1, Vec r2)=0 |
Distance between two points, given boundary conditions. More... | |
virtual flt | V ()=0 |
Volume. Can return NaN. More... | |
virtual | ~Box () |
The virtual interface for the shape of the space and its boundaries.
|
inlinevirtual |
Distance between two points, given boundary conditions.
This is the main function that Box exists for.
Implemented in WalledBox2D, SCBox, LeesEdwardsBox, OriginBox, and InfiniteBox.
|
pure virtual |
Volume. Can return NaN.
Implemented in WalledBox2D, SCBox, OriginBox, OriginBox, and InfiniteBox.