Commit f05e6bbc authored by Zheng Gong's avatar Zheng Gong
Browse files

fix performance issue when use Drude force with velocity-verlet integrator

parent 7e72bafb
......@@ -55,7 +55,7 @@ public:
const DrudeForce& getOwner() const {
return owner;
}
void updateContextState(ContextImpl& context) {
void updateContextState(ContextImpl& context, bool& forcesInvalid) {
// This force field doesn't update the state directly.
}
double calcForcesAndEnergy(ContextImpl& context, bool includeForces, bool includeEnergy, int groups);
......
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