"platforms/cuda/vscode:/vscode.git/clone" did not exist on "039bb3fbac058509034ac4eca407ef7e901fd167"
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: ...@@ -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