#include <MechanicalVisitor.h>


Public Member Functions | |
| MechanicalPropagateDxVisitor (VecId dx) | |
| virtual Result | fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *mm) |
| Process the BaseMechanicalState if it is not mapped from the parent level. | |
| virtual Result | fwdMechanicalMapping (simulation::Node *, core::componentmodel::behavior::BaseMechanicalMapping *map) |
| Process the BaseMechanicalMapping. | |
| virtual bool | isThreadSafe () const |
| Specify whether this action can be parallelized. | |
Data Fields | |
| VecId | dx |
This action does not modify the state (i.e. positions and velocities) of the objects. It is typically applied before a MechanicalComputeDfVisitor, in order to compute the df corresponding to a given dx (i.e. apply stiffness). Dx is propagated to all the layers through the mappings.
Definition at line 314 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalPropagateDxVisitor::MechanicalPropagateDxVisitor | ( | VecId | dx | ) | [inline] |
Definition at line 318 of file MechanicalVisitor.h.
| Visitor::Result sofa::simulation::MechanicalPropagateDxVisitor::fwdMechanicalMapping | ( | simulation::Node * | , | |
| core::componentmodel::behavior::BaseMechanicalMapping * | ||||
| ) | [virtual] |
Process the BaseMechanicalMapping.
Reimplemented from sofa::simulation::MechanicalVisitor.
Definition at line 229 of file MechanicalVisitor.cpp.
References sofa::core::componentmodel::behavior::BaseMechanicalMapping::propagateDx(), and sofa::simulation::Visitor::RESULT_CONTINUE.
| Visitor::Result sofa::simulation::MechanicalPropagateDxVisitor::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 224 of file MechanicalVisitor.cpp.
References dx, sofa::simulation::Visitor::RESULT_CONTINUE, and sofa::core::componentmodel::behavior::BaseMechanicalState::setDx().
| virtual bool sofa::simulation::MechanicalPropagateDxVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 323 of file MechanicalVisitor.h.
1.5.7.1