Unverified Commit 36b6caa6 authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #2569 from z-gong/vvdrude

fix performance issue when use Drude force with velocity-verlet integrator
parents 40c04f74 f05e6bbc
...@@ -55,7 +55,7 @@ public: ...@@ -55,7 +55,7 @@ public:
const DrudeForce& getOwner() const { const DrudeForce& getOwner() const {
return owner; return owner;
} }
void updateContextState(ContextImpl& context) { void updateContextState(ContextImpl& context, bool& forcesInvalid) {
// This force field doesn't update the state directly. // This force field doesn't update the state directly.
} }
double calcForcesAndEnergy(ContextImpl& context, bool includeForces, bool includeEnergy, int groups); 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