22 #ifndef __PLUMED_vesselbase_ShortcutVessel_h
23 #define __PLUMED_vesselbase_ShortcutVessel_h
29 #include "core/Value.h"
36 void addVessel(
const std::string& name,
const std::string& intput );
45 bool applyForce( std::vector<double>& forces ){ plumed_error(); }
ShortcutVessel(const VesselOptions &)
bool calculate()
Calculate the part of the vessel that is done in the loop.
static void registerKeywords(Keywords &keys)
This class holds the keywords and their documentation.
bool applyForce(std::vector< double > &forces)
Retrieve the forces on the quantities in the vessel.
void addVessel(const std::string &name, const std::string &intput)
void finish()
Complete the calculation once the loop is finished.
std::string description()
Return a description of the vessel contents.
This class is used to pass the input to Vessels.
unsigned getNumberOfTerms()
Retrieve the number of terms we need to accumulate.
void resize()
Reset the size of the buffers.