Class containing atom related quantities from the MD code. More...
#include <Atoms.h>
Classes | |
class | DomainDecomposition |
Public Member Functions | |
Atoms (PlumedMain &plumed) | |
~Atoms () | |
void | init () |
void | share () |
void | shareAll () |
void | wait () |
void | updateForces () |
void | setRealPrecision (int) |
int | getRealPrecision () const |
void | setTimeStep (void *) |
double | getTimeStep () const |
void | setNatoms (int) |
const int & | getNatoms () const |
void | setCollectEnergy (bool b) |
void | setDomainDecomposition (Communicator &) |
void | setAtomsGatindex (int *) |
void | setAtomsContiguous (int) |
void | setAtomsNlocal (int) |
void | startStep () |
void | setEnergy (void *) |
void | setBox (void *) |
void | setVirial (void *) |
void | setPositions (void *) |
void | setPositions (void *, int) |
void | setForces (void *) |
void | setForces (void *, int) |
void | setMasses (void *) |
void | setCharges (void *) |
bool | chargesWereSet () const |
bool | boxWasSet () const |
void | MD2double (const void *m, double &d) const |
void | double2MD (const double &d, void *m) const |
void | createFullList (int *) |
void | getFullList (int **) |
void | clearFullList () |
void | add (const ActionAtomistic *) |
void | remove (const ActionAtomistic *) |
double | getEnergy () const |
bool | isEnergyNeeded () const |
void | setMDEnergyUnits (double d) |
void | setMDLengthUnits (double d) |
void | setMDTimeUnits (double d) |
const Units & | getMDUnits () |
void | setUnits (const Units &u) |
const Units & | getUnits () |
void | updateUnits () |
AtomNumber | addVirtualAtom (ActionWithVirtualAtom *) |
void | removeVirtualAtom (ActionWithVirtualAtom *) |
ActionWithVirtualAtom * | getVirtualAtomsAction (AtomNumber) const |
bool | isVirtualAtom (AtomNumber) const |
void | insertGroup (const std::string &name, const std::vector< AtomNumber > &a) |
void | removeGroup (const std::string &name) |
void | writeBinary (std::ostream &) const |
void | readBinary (std::istream &) |
double | getKBoltzmann () const |
double | getMDKBoltzmann () const |
bool | usingNaturalUnits () const |
void | setNaturalUnits (bool n) |
void | setMDNaturalUnits (bool n) |
Vector & | modifyPosition (AtomNumber i) |
Private Member Functions | |
void | resizeVectors (unsigned) |
void | share (const std::set< AtomNumber > &) |
Private Attributes | |
int | natoms |
std::vector< Vector > | positions |
std::vector< Vector > | forces |
std::vector< double > | masses |
std::vector< double > | charges |
std::vector < ActionWithVirtualAtom * > | virtualAtomsActions |
Tensor | box |
Pbc & | pbc |
Tensor | virial |
double | md_energy |
double | energy |
bool | dataCanBeSet |
bool | collectEnergy |
bool | energyHasBeenSet |
unsigned | positionsHaveBeenSet |
bool | massesHaveBeenSet |
bool | chargesHaveBeenSet |
bool | boxHasBeenSet |
unsigned | forcesHaveBeenSet |
bool | virialHasBeenSet |
std::map< std::string, std::vector< AtomNumber > > | groups |
std::vector< int > | fullList |
MDAtomsBase * | mdatoms |
PlumedMain & | plumed |
Units | MDUnits |
Units | units |
bool | naturalUnits |
bool | MDnaturalUnits |
double | timestep |
double | forceOnEnergy |
std::vector< const ActionAtomistic * > | actions |
std::vector< int > | gatindex |
DomainDecomposition | dd |
Friends | |
class | ActionAtomistic |
class | ActionWithVirtualAtom |
Class containing atom related quantities from the MD code.
IT IS STILL UNDOCUMENTED. IT PROBABLY NEEDS A STRONG CLEANUP
PLMD::Atoms::Atoms | ( | PlumedMain & | plumed | ) |
void PLMD::Atoms::add | ( | const ActionAtomistic * | a | ) |
AtomNumber PLMD::Atoms::addVirtualAtom | ( | ActionWithVirtualAtom * | a | ) |
void PLMD::Atoms::double2MD | ( | const double & | d, |
void * | m | ||
) | const |
|
inline |
void PLMD::Atoms::insertGroup | ( | const std::string & | name, |
const std::vector< AtomNumber > & | a | ||
) |
|
inline |
void PLMD::Atoms::MD2double | ( | const void * | m, |
double & | d | ||
) | const |
|
inline |
void PLMD::Atoms::remove | ( | const ActionAtomistic * | a | ) |
void PLMD::Atoms::removeVirtualAtom | ( | ActionWithVirtualAtom * | a | ) |
void PLMD::Atoms::setDomainDecomposition | ( | Communicator & | comm | ) |
|
private |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Hosted by GitHub
![]() |
![]() |