SBStateUpdater#

This class describes the base class for state updaters.

State updaters define how the state of a dynamical model is advanced, minimized, or otherwise updated during a simulation.

class samson.SBStateUpdater#

Bases: SBNode

Base class for simulation state updaters.

A state updater advances the simulation state, typically by updating associated dynamical and interaction models over one or several integration steps.

getDynamicalModel(self: samson.SBStateUpdater) samson.SBDynamicalModel#

Returns the associated dynamical model or None.

getInteractionModel(self: samson.SBStateUpdater) samson.SBInteractionModel#

Returns the associated interaction model or None.

updateState(self: samson.SBStateUpdater) None#

Updates the simulation state.

property numberOfSteps#

Number of integration sub-steps.

property stateUpdaterType#

Returns the specific state updater type.

property stepSize#

Time step size.