Forces¶
-
class mdk::Force : public mdk::SimulVar
An abstract interface for the force fields. Certain forces (QA in particular) have a multi-stage evaluation. Thus we separated the computation to an “asynchronous” and “synchronous” parts, where the latter get executed in order of addition to the
Simulation
object.Subclassed by mdk::BondAngles, mdk::Chirality, mdk::DihedralAngles, mdk::NonlocalForce, mdk::SolidWall, mdk::Tether
Public Functions
-
virtual void bind(Simulation &simulation) override
Bind the force to the simulation. This class shouldn’t be actually added to the simulation, but rather serves as a prototype for actual forces; in particular it saved
state
from theSimulation
object.- Parameters
simulation –
-
virtual void bind(Simulation &simulation) override