#include <MechanicalVisitor.h>


Public Member Functions | |
| MechanicalIntegrationVisitor (double dt) | |
| virtual Result | fwdOdeSolver (simulation::Node *node, core::componentmodel::behavior::OdeSolver *obj) |
| Process the OdeSolver. | |
| virtual void | bwdOdeSolver (simulation::Node *, core::componentmodel::behavior::OdeSolver *) |
| Process the OdeSolver. | |
| virtual bool | isThreadSafe () const |
| Specify whether this action can be parallelized. | |
Data Fields | |
| double | dt |
Definition at line 701 of file MechanicalVisitor.h.
| sofa::simulation::MechanicalIntegrationVisitor::MechanicalIntegrationVisitor | ( | double | dt | ) | [inline] |
Definition at line 705 of file MechanicalVisitor.h.
| virtual void sofa::simulation::MechanicalIntegrationVisitor::bwdOdeSolver | ( | simulation::Node * | , | |
| core::componentmodel::behavior::OdeSolver * | ||||
| ) | [inline, virtual] |
Process the OdeSolver.
Reimplemented from sofa::simulation::MechanicalVisitor.
Definition at line 709 of file MechanicalVisitor.h.
| Visitor::Result sofa::simulation::MechanicalIntegrationVisitor::fwdOdeSolver | ( | simulation::Node * | , | |
| core::componentmodel::behavior::OdeSolver * | ||||
| ) | [virtual] |
Process the OdeSolver.
Reimplemented from sofa::simulation::MechanicalVisitor.
Definition at line 127 of file MechanicalVisitor.cpp.
References dt, sofa::simulation::Node::execute(), sofa::core::objectmodel::Context::getTime(), sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::position(), sofa::core::componentmodel::behavior::OdeSolver::propagatePositionAndVelocity(), sofa::simulation::Visitor::RESULT_PRUNE, sofa::core::componentmodel::behavior::OdeSolver::solve(), and sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::velocity().
| virtual bool sofa::simulation::MechanicalIntegrationVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 714 of file MechanicalVisitor.h.
1.5.7.1