22 #ifndef __PLUMED_multicolvar_StoreCentralAtomsVessel_h
23 #define __PLUMED_multicolvar_StoreCentralAtomsVessel_h
25 #include "tools/DynamicList.h"
26 #include "vesselbase/Vessel.h"
29 namespace multicolvar {
31 class MultiColvarBase;
32 class MultiColvarFunction;
void addAtomsDerivativeOfWeight(const unsigned &iatom, const Vector &df, MultiColvarFunction *funcout) const
Add derivatives of the weight wrt to the central atom position.
std::string description()
This does nothing.
bool calculate()
This makes sure all vectors are stored.
void resize()
This does the resizing of the buffer.
Class implementing fixed size matrices of doubles.
Class implementing fixed size vectors of doubles.
std::vector< DynamicList< unsigned > > active_atoms
void addAtomsDerivatives(const unsigned &iatom, const Vector &df, MultiColvarFunction *funcout) const
Add derivatives to central atom position.
std::vector< unsigned > start
void addDerivativeOfCentralAtomPos(const unsigned &iatom, const Tensor &df, MultiColvarFunction *funcout) const
Add derivative to the central atom position.
unsigned getNumberOfTerms()
Return the number of terms.
This class is used to pass the input to Vessels.
Vector getPosition(const unsigned &) const
Get the orientation of the ith vector.
StoreCentralAtomsVessel(const vesselbase::VesselOptions &)
Constructor.
bool applyForce(std::vector< double > &)
This does nothing.
void finish()
This should mpi gather the active atoms.