tested in regtest/tools/rt-make-AtomicDistribution Acts as a template for any distribution More...
#include <AtomDistribution.h>

Public Member Functions | |
| virtual | ~AtomDistribution () noexcept |
| virtual void | frame (std::vector< Vector > &posToUpdate, std::vector< double > &box, unsigned, Random &)=0 |
| Update the input vectors with the position and the box of the frame. | |
| virtual bool | overrideNat (unsigned &) |
| If necessary changes the number of atoms, returns true if that number has been changed. | |
Static Public Member Functions | |
| static std::unique_ptr< AtomDistribution > | getAtomDistribution (std::string_view atomicDistr) |
tested in regtest/tools/rt-make-AtomicDistribution Acts as a template for any distribution
|
inlinevirtualnoexcept |
|
pure virtual |
Update the input vectors with the position and the box of the frame.
Implemented in PLMD::fileTraj, PLMD::repliedTrajectory, PLMD::theLine, PLMD::tiledSimpleCubic, PLMD::twoGlobs, PLMD::uniformCube, and PLMD::uniformSphere.
|
static |
|
inlinevirtual |
If necessary changes the number of atoms, returns true if that number has been changed.
Reimplemented in PLMD::fileTraj, and PLMD::repliedTrajectory.
Hosted by GitHub
|
1.13.2
|