1#ifndef GLOBALMASTERCOLVARS_H
2#define GLOBALMASTERCOLVARS_H
6#include "GlobalMaster.h"
20 void calculate()
override;
22 inline void requestTotalForcePublic(
bool yesno =
true)
24 requestTotalForce(yesno);
27 inline AtomIDList &modifyRequestedAtomsPublic()
29 return modifyRequestedAtoms();
32 inline AtomIDList &modifyForcedAtomsPublic()
34 return modifyForcedAtoms();
37 inline ForceList &modifyAppliedForcesPublic()
39 return modifyAppliedForces();
42 inline ResizeArray<AtomIDList> &modifyRequestedGroupsPublic()
44 return modifyRequestedGroups();
47 inline ForceList &modifyGroupForcesPublic()
49 return modifyGroupForces();
52 inline IntList &modifyRequestedGridObjectsPublic()
54 return modifyRequestedGridObjects();
57 inline BigRealList &modifyGridObjForcesPublic()
59 return modifyGridObjForces();
62 inline AtomIDList::const_iterator getAtomIdBeginPublic()
64 return getAtomIdBegin();
67 inline AtomIDList::const_iterator getAtomIdEndPublic()
69 return getAtomIdEnd();
72 inline PositionList::const_iterator getAtomPositionBeginPublic()
74 return getAtomPositionBegin();
77 inline PositionList::const_iterator getGroupPositionBeginPublic()
79 return getGroupPositionBegin();
82 inline PositionList::const_iterator getGroupPositionEndPublic()
84 return getGroupPositionEnd();
87 inline ForceList::const_iterator getGroupTotalForceBeginPublic()
89 return getGroupTotalForceBegin();
92 inline ForceList::const_iterator getGroupTotalForceEndPublic()
94 return getGroupTotalForceEnd();
97 inline IntList::const_iterator getGridObjIndexBeginPublic()
99 return getGridObjIndexBegin();
102 inline IntList::const_iterator getGridObjIndexEndPublic()
104 return getGridObjIndexEnd();
107 inline BigRealList::const_iterator getGridObjValueBeginPublic()
109 return getGridObjValueBegin();
112 inline BigRealList::const_iterator getGridObjValueEndPublic()
114 return getGridObjValueEnd();
117 inline AtomIDList::const_iterator getForceIdBeginPublic()
119 return getForceIdBegin();
122 inline AtomIDList::const_iterator getForceIdEndPublic()
124 return getForceIdEnd();
127 inline ForceList::const_iterator getTotalForcePublic()
129 return getTotalForce();
132 inline void addReductionEnergyPublic(
int reductionTag, BigReal energy)
134 addReductionEnergy(reductionTag, energy);
137 inline Lattice
const *get_lattice()
const
144 std::unique_ptr<colvarproxy_namd> proxy;
150 constexpr int32_t GLOBAL_MASTER_CKLOOP_CALC_ITEM = 2000;
151 constexpr int32_t GLOBAL_MASTER_CKLOOP_CALC_BIASES = 2001;
152 constexpr int32_t GLOBAL_MASTER_CKLOOP_CALC_SCRIPTED_BIASES = 2002;
Definition: GlobalMasterColvars.h:11
Communication between colvars and NAMD (implementation of colvarproxy)
Definition: colvarproxy_namd.h:34