#include <MechanicalVisitor.h>


Public Types | |
| typedef core::componentmodel::behavior::BaseMechanicalState::VMultiOp | VMultiOp |
Public Member Functions | |
| MechanicalVMultiOpVisitor () | |
| MechanicalVMultiOpVisitor (const VMultiOp &o) | |
| 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 | |
| VMultiOp | ops |
This is used to compute in on steps operations such as $v = v + a*dt, x = x + v*dt$. Note that if the result vector appears inside the expression, it must be the first operand.
Definition at line 260 of file MechanicalVisitor.h.
| typedef core::componentmodel::behavior::BaseMechanicalState::VMultiOp sofa::simulation::MechanicalVMultiOpVisitor::VMultiOp |
Definition at line 263 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalVMultiOpVisitor::MechanicalVMultiOpVisitor | ( | ) | [inline] |
Definition at line 265 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalVMultiOpVisitor::MechanicalVMultiOpVisitor | ( | const VMultiOp & | o | ) | [inline] |
Definition at line 267 of file MechanicalVisitor.h.
| Visitor::Result sofa::simulation::MechanicalVMultiOpVisitor::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 184 of file MechanicalVisitor.cpp.
References sofa::simulation::Visitor::RESULT_CONTINUE.
| Visitor::Result sofa::simulation::MechanicalVMultiOpVisitor::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 178 of file MechanicalVisitor.cpp.
References ops, sofa::simulation::Visitor::RESULT_CONTINUE, and sofa::core::componentmodel::behavior::BaseMechanicalState::vMultiOp().
| virtual bool sofa::simulation::MechanicalVMultiOpVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 277 of file MechanicalVisitor.h.
Definition at line 264 of file MechanicalVisitor.h.
Referenced by fwdMechanicalState(), sofa::component::odesolver::RungeKutta4Solver::solve(), sofa::component::odesolver::RungeKutta2Solver::solve(), sofa::component::odesolver::EulerSolver::solve(), sofa::component::odesolver::EulerImplicitSolver::solve(), and sofa::component::odesolver::CGImplicitSolver::solve().
1.5.7.1