#include <MechanicalMatrixVisitor.h>


Public Member Functions | |
| MechanicalAddMBK_ToMatrixVisitor (BaseMatrix *_mat, double _m=0.0, double _b=0.0, double _k=0.0, unsigned int _offset=0) | |
| virtual Result | fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *ms) |
| Process the BaseMechanicalState if it is not mapped from the parent level. | |
| virtual Result | fwdForceField (simulation::Node *, core::componentmodel::behavior::BaseForceField *ff) |
| Process all the BaseForceField. | |
| virtual Result | fwdConstraint (simulation::Node *, core::componentmodel::behavior::BaseConstraint *c) |
| Process all the BaseConstraint. | |
Data Fields | |
| BaseMatrix * | mat |
| double | m |
| double | b |
| double | k |
Definition at line 198 of file MechanicalMatrixVisitor.h.
| sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::MechanicalAddMBK_ToMatrixVisitor | ( | BaseMatrix * | _mat, | |
| double | _m = 0.0, |
|||
| double | _b = 0.0, |
|||
| double | _k = 0.0, |
|||
| unsigned int | _offset = 0 | |||
| ) | [inline] |
Definition at line 205 of file MechanicalMatrixVisitor.h.
References sofa::simulation::MechanicalMatrixVisitor::offsetOnEnter, and sofa::simulation::MechanicalMatrixVisitor::offsetOnExit.
| virtual Result sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::fwdConstraint | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseConstraint * | ||||
| ) | [inline, virtual] |
Process all the BaseConstraint.
Reimplemented from sofa::simulation::MechanicalMatrixVisitor.
Definition at line 243 of file MechanicalMatrixVisitor.h.
References sofa::core::componentmodel::behavior::BaseConstraint::applyConstraint(), mat, sofa::simulation::MechanicalMatrixVisitor::offsetOnEnter, and sofa::simulation::Visitor::RESULT_CONTINUE.
| virtual Result sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::fwdForceField | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseForceField * | ||||
| ) | [inline, virtual] |
Process all the BaseForceField.
Reimplemented from sofa::simulation::MechanicalMatrixVisitor.
Definition at line 218 of file MechanicalMatrixVisitor.h.
References sofa::core::componentmodel::behavior::BaseForceField::addMBKToMatrix(), b, k, m, mat, sofa::simulation::MechanicalMatrixVisitor::offsetOnEnter, and sofa::simulation::Visitor::RESULT_CONTINUE.
| virtual Result sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::fwdMechanicalState | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseMechanicalState * | ||||
| ) | [inline, virtual] |
Process the BaseMechanicalState if it is not mapped from the parent level.
Reimplemented from sofa::simulation::MechanicalMatrixVisitor.
Definition at line 212 of file MechanicalMatrixVisitor.h.
References sofa::simulation::MechanicalMatrixVisitor::offsetOnExit, sofa::simulation::Visitor::RESULT_CONTINUE, and sofa::core::componentmodel::behavior::BaseMechanicalState::setOffset().
Definition at line 201 of file MechanicalMatrixVisitor.h.
Referenced by fwdConstraint(), and fwdForceField().
1.5.7.1