Physical state object

Warning

doxygenclass: Cannot find class “mdk::Dynamics” in doxygen xml output for project “mdk” from directory: /home/talos/devs/self/mdk/release/mdk/docs/doxygen/xml

class mdk::State : public mdk::SimulVar

An object containing the physical state of the simulation, i.e. current positions, velocities of the residues, time and the box shape.

Public Functions

void prepareDyn()
void updateWithDyn(Dynamics const &othDyn)
virtual void bind(Simulation &simul) override

Bind an object to a simulation.

Parameters

simulationSimulation to bind the object to.

void exportTo(Model &model) const

Set the positions and velocities of the residues in a Model object to the current values.

Parameters

model

Public Members

int n
Vectors r
Vectors v
double t
Topology top
Dynamics dyn