#include <MechanicalVisitor.h>


Public Member Functions | |
| MechanicalVOpVisitor (VecId v, VecId a=VecId::null(), VecId b=VecId::null(), double f=1.0) | |
| virtual Result | fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *mm) |
| Process the BaseMechanicalState if it is not mapped from the parent level. | |
| virtual Result | fwdMappedMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *) |
| Process the BaseMechanicalState if it is mapped from the parent level. | |
| virtual bool | isThreadSafe () const |
| Specify whether this action can be parallelized. | |
Data Fields | |
| VecId | v |
| VecId | a |
| VecId | b |
| double | f |
Definition at line 232 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalVOpVisitor::MechanicalVOpVisitor | ( | VecId | v, | |
| VecId | a = VecId::null(), |
|||
| VecId | b = VecId::null(), |
|||
| double | f = 1.0 | |||
| ) | [inline] |
Definition at line 239 of file MechanicalVisitor.h.
| Visitor::Result sofa::simulation::MechanicalVOpVisitor::fwdMappedMechanicalState | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseMechanicalState * | ||||
| ) | [virtual] |
Process the BaseMechanicalState if it is mapped from the parent level.
Reimplemented from sofa::simulation::MechanicalVisitor.
Definition at line 170 of file MechanicalVisitor.cpp.
References sofa::simulation::Visitor::RESULT_CONTINUE.
| Visitor::Result sofa::simulation::MechanicalVOpVisitor::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 164 of file MechanicalVisitor.cpp.
References a, b, f, sofa::simulation::Visitor::RESULT_CONTINUE, v, and sofa::core::componentmodel::behavior::BaseMechanicalState::vOp().
| virtual bool sofa::simulation::MechanicalVOpVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 249 of file MechanicalVisitor.h.
1.5.7.1