atomic distribution from a trajectory file
More...
#include <AtomDistribution.h>
|
| | fileTraj (std::string_view fmt, std::string_view fname, bool useMolfile, int command_line_natoms) |
| |
| void | frame (std::vector< Vector > &posToUpdate, std::vector< double > &box, unsigned, Random &) override |
| | Update the input vectors with the position and the box of the frame.
|
| |
| bool | overrideNat (unsigned &natoms) override |
| | If necessary changes the number of atoms, returns true if that number has been changed.
|
| |
atomic distribution from a trajectory file
◆ fileTraj()
| PLMD::fileTraj::fileTraj |
( |
std::string_view | fmt, |
|
|
std::string_view | fname, |
|
|
bool | useMolfile, |
|
|
int | command_line_natoms ) |
◆ frame()
| void PLMD::fileTraj::frame |
( |
std::vector< Vector > & | posToUpdate, |
|
|
std::vector< double > & | box, |
|
|
unsigned | , |
|
|
Random & | ) |
|
overridevirtual |
◆ getAtomDistribution()
| std::unique_ptr< AtomDistribution > PLMD::AtomDistribution::getAtomDistribution |
( |
std::string_view | atomicDistr | ) |
|
|
staticinherited |
◆ overrideNat()
| bool PLMD::fileTraj::overrideNat |
( |
unsigned & | | ) |
|
|
overridevirtual |
If necessary changes the number of atoms, returns true if that number has been changed.
Reimplemented from PLMD::AtomDistribution.
◆ rewind()
| void PLMD::fileTraj::rewind |
( |
| ) |
|
|
private |
◆ step()
| void PLMD::fileTraj::step |
( |
bool | doRewind = true | ) |
|
|
private |
◆ cell
| std::vector<double> PLMD::fileTraj::cell |
|
private |
Initial value:{0.0,0.0,0.0,
0.0,0.0,0.0,
0.0,0.0,0.0}
◆ charges
| std::vector<double> PLMD::fileTraj::charges {} |
|
private |
◆ coordinates
| std::vector<Vector> PLMD::fileTraj::coordinates {} |
|
private |
◆ dont_read_pbc
| bool PLMD::fileTraj::dont_read_pbc =false |
|
private |
◆ masses
| std::vector<double> PLMD::fileTraj::masses {} |
|
private |
◆ parser
◆ read
| bool PLMD::fileTraj::read =false |
|
private |
The documentation for this class was generated from the following files: