SBDynamicalModel#
See also
SAMSON SDK: SBMDynamicalModel
- class samson.SBDynamicalModel#
Bases:
SBModel
This class is the base class of dynamical models.
- clone(self: samson.SBDynamicalModel) samson.SBDynamicalModel #
Returns a copy of the node and its descendants
- enforcePeriodicBoundaryConditions(self: samson.SBDynamicalModel) bool #
Enforces the periodic boundary conditions
- flushPositionBuffer(self: samson.SBDynamicalModel) None #
Flushes the position buffer
- getChangedPositionIndex(self: samson.SBDynamicalModel, i: int) int #
Returns the index of a changed position
- getDynamicalRoot(self: samson.SBDynamicalModel) SBMDynamicalModelNodeRoot #
Returns the root of the dynamical model
- getNumberOfChangedPositions(self: samson.SBDynamicalModel) int #
Returns the number of changed positions
- getPeriodicBoundaryConditions(self: samson.SBDynamicalModel) samson.SBPhysicalIAVector3 #
Returns the periodic boundary conditions
- getPositionChanged(self: samson.SBDynamicalModel, i: int) bool #
Returns whether position i has been changed since the last flush
- setPeriodicBoundaryConditions(self: samson.SBDynamicalModel, v: samson.SBPhysicalIAVector3) None #
Sets the periodic boundary conditions
- updateStructuralNodes(self: samson.SBDynamicalModel) None #
Updates structural nodes based on the state of the dynamical model
- property dynamicalModelType#
The dynamical model type
- property periodicBoundaryConditionsFlag#
periodic boundary conditions flag