1 #ifndef OPENMM_FORCEIMPL_H_
2 #define OPENMM_FORCEIMPL_H_
35 #include "openmm/internal/windowsExport.h"
69 virtual const Force& getOwner()
const = 0;
77 virtual void updateContextState(
ContextImpl& context) = 0;
90 virtual double calcForcesAndEnergy(
ContextImpl& context,
bool includeForces,
bool includeEnergy,
int groups) = 0;
95 virtual std::map<std::string, double> getDefaultParameters() = 0;
99 virtual std::vector<std::string> getKernelNames() = 0;
105 return std::vector<std::pair<int, int> >(0);