#include <MechanicalVisitor.h>


Public Member Functions | |
| MechanicalResetForceVisitor (VecId res, bool onlyMapped=false) | |
| 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 *mm) |
| 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 | res |
| bool | onlyMapped |
Definition at line 507 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalResetForceVisitor::MechanicalResetForceVisitor | ( | VecId | res, | |
| bool | onlyMapped = false | |||
| ) | [inline] |
Definition at line 512 of file MechanicalVisitor.h.
| Visitor::Result sofa::simulation::MechanicalResetForceVisitor::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 365 of file MechanicalVisitor.cpp.
References sofa::core::componentmodel::behavior::BaseMechanicalState::resetForce(), and sofa::simulation::Visitor::RESULT_CONTINUE.
| Visitor::Result sofa::simulation::MechanicalResetForceVisitor::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 358 of file MechanicalVisitor.cpp.
References onlyMapped, res, sofa::core::componentmodel::behavior::BaseMechanicalState::resetForce(), sofa::simulation::Visitor::RESULT_CONTINUE, and sofa::core::componentmodel::behavior::BaseMechanicalState::setF().
| virtual bool sofa::simulation::MechanicalResetForceVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 518 of file MechanicalVisitor.h.
1.5.7.1