Commit 1fde85e7 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed a compilation error

parent 0c4f73d7
......@@ -52,9 +52,7 @@ public:
void updateContextState(ContextImpl& context);
double calcForcesAndEnergy(ContextImpl& context, bool includeForces, bool includeEnergy) {
// This force doesn't apply forces to particles.
}
double calcEnergy(ContextImpl& context) {
return 0.0; // This force doesn't contribute to the potential energy.
return 0.0;
}
std::map<std::string, double> getDefaultParameters() {
return std::map<std::string, double>(); // This force doesn't define any parameters.
......
......@@ -54,9 +54,7 @@ public:
void updateContextState(ContextImpl& context);
double calcForcesAndEnergy(ContextImpl& context, bool includeForces, bool includeEnergy) {
// This force doesn't apply forces to particles.
}
double calcEnergy(ContextImpl& context) {
return 0.0; // This force doesn't contribute to the potential energy.
return 0.0;
}
std::map<std::string, double> getDefaultParameters();
std::vector<std::string> getKernelNames();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment