#include <AtomValuePack.h>
Public Member Functions | |
| AtomValuePack (MultiValue &vals, MultiColvarBase const *mcolv) | |
| void | addBoxDerivatives (const unsigned &, const Tensor &) |
| void | addComDerivatives (const int &, const Vector &, const CatomPack &) |
| void | addDerivative (const unsigned &, const unsigned &, const double &) |
| void | addTemporyBoxDerivatives (const Tensor &vir) |
| void | addValue (const unsigned &ival, const double &vv) |
| AtomNumber | getAbsoluteIndex (const unsigned &j) const |
| Get the absolute index of the ith atom in the list. | |
| unsigned | getIndex (const unsigned &j) const |
| unsigned | getNumberOfAtoms () const |
| unsigned | getNumberOfDerivatives () const |
| Vector & | getPosition (const unsigned &) |
| Get the position of the ith atom. | |
| MultiValue & | getUnderlyingMultiValue () |
| double | getValue (const unsigned &) const |
| void | setAtom (const unsigned &j, const unsigned &ind) |
| void | setAtomIndex (const unsigned &j, const unsigned &ind) |
| void | setIndex (const unsigned &, const unsigned &) |
| Set the index for one of the atoms. | |
| void | setNumberOfAtoms (const unsigned &) |
| Set the number of atoms. | |
| unsigned | setupAtomsFromLinkCells (const std::vector< unsigned > &cind, const Vector &cpos, const LinkCells &linkcells) |
| void | setValue (const unsigned &, const double &) |
| void | updateDynamicList () |
| void | updateUsingIndices () |
Private Member Functions | |
| void | addAtomsDerivatives (const unsigned &, const unsigned &, const Vector &) |
| void | addTemporyAtomsDerivatives (const unsigned &jder, const Vector &der) |
Private Attributes | |
| std::vector< unsigned > | cells_required |
| This is stuff for link cells. | |
| std::vector< unsigned > & | indices |
| Atom indices. | |
| std::vector< Vector > & | myatoms |
| This holds atom positions. | |
| MultiColvarBase const * | mycolv |
| Copy of the underlying multicolvar. | |
| MultiValue & | myvals |
| Copy of the values that we are adding to. | |
| unsigned | natoms |
| Number of atoms at the moment. | |
| std::vector< unsigned > & | sort_vector |
| This is used to sort the atom indices. | |
Friends | |
| class | LocalAverage |
| class | MultiColvarBase |
| PLMD::multicolvar::AtomValuePack::AtomValuePack | ( | MultiValue & | vals, |
| MultiColvarBase const * | mcolv ) |
|
inlineprivate |
|
inline |
| void PLMD::multicolvar::AtomValuePack::addComDerivatives | ( | const int & | ind, |
| const Vector & | der, | ||
| const CatomPack & | catom_der ) |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Get the absolute index of the ith atom in the list.
|
inline |
|
inline |
|
inline |
|
inline |
Get the position of the ith atom.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set the index for one of the atoms.
|
inline |
Set the number of atoms.
| unsigned PLMD::multicolvar::AtomValuePack::setupAtomsFromLinkCells | ( | const std::vector< unsigned > & | cind, |
| const Vector & | cpos, | ||
| const LinkCells & | linkcells ) |
|
inline |
|
inline |
| void PLMD::multicolvar::AtomValuePack::updateUsingIndices | ( | ) |
|
friend |
|
friend |
|
private |
This is stuff for link cells.
|
private |
Atom indices.
|
private |
This holds atom positions.
|
private |
Copy of the underlying multicolvar.
|
private |
Copy of the values that we are adding to.
|
private |
Number of atoms at the moment.
|
private |
This is used to sort the atom indices.
Hosted by GitHub
|
1.17.0
|