#include <MechanicalVisitor.h>


Public Member Functions | |
| MechanicalAccFromFVisitor (VecId a, VecId f) | |
| virtual Result | fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *mm) |
| Process the BaseMechanicalState if it is not mapped from the parent level. | |
| virtual Result | fwdMass (simulation::Node *, core::componentmodel::behavior::BaseMass *mass) |
| Process the BaseMass. | |
| virtual bool | isThreadSafe () const |
| Specify whether this action can be parallelized. | |
Data Fields | |
| VecId | a |
| VecId | f |
Definition at line 429 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalAccFromFVisitor::MechanicalAccFromFVisitor | ( | VecId | a, | |
| VecId | f | |||
| ) | [inline] |
Definition at line 434 of file MechanicalVisitor.h.
| Visitor::Result sofa::simulation::MechanicalAccFromFVisitor::fwdMass | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseMass * | ||||
| ) | [virtual] |
Process the BaseMass.
Reimplemented from sofa::simulation::MechanicalVisitor.
Definition at line 284 of file MechanicalVisitor.cpp.
References sofa::core::componentmodel::behavior::BaseMass::accFromF(), and sofa::simulation::Visitor::RESULT_CONTINUE.
| Visitor::Result sofa::simulation::MechanicalAccFromFVisitor::fwdMechanicalState | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseMechanicalState * | ||||
| ) | [virtual] |
Process the BaseMechanicalState if it is not mapped from the parent level.
Reimplemented from sofa::simulation::MechanicalVisitor.
Definition at line 277 of file MechanicalVisitor.cpp.
References a, f, sofa::simulation::Visitor::RESULT_CONTINUE, sofa::core::componentmodel::behavior::BaseMechanicalState::setDx(), and sofa::core::componentmodel::behavior::BaseMechanicalState::setF().
| virtual bool sofa::simulation::MechanicalAccFromFVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 440 of file MechanicalVisitor.h.
1.5.7.1