#include <SolveVisitor.h>


Public Member Functions | |
| SolveVisitor (double _dt) | |
| void | processSolver (simulation::Node *node, core::componentmodel::behavior::OdeSolver *b) |
| virtual Result | processNodeTopDown (simulation::Node *node) |
| Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE. | |
| virtual bool | isThreadSafe () const |
| Specify whether this action can be parallelized. | |
| virtual const char * | getCategoryName () const |
| Return a category name for this action. | |
| void | setDt (double _dt) |
| double | getDt () |
Protected Attributes | |
| double | dt |
Definition at line 44 of file SolveVisitor.h.
| sofa::simulation::SolveVisitor::SolveVisitor | ( | double | _dt | ) | [inline] |
Definition at line 48 of file SolveVisitor.h.
| virtual const char* sofa::simulation::SolveVisitor::getCategoryName | ( | ) | const [inline, virtual] |
Return a category name for this action.
Only used for debugging / profiling purposes
Reimplemented from sofa::simulation::Visitor.
Definition at line 57 of file SolveVisitor.h.
| double sofa::simulation::SolveVisitor::getDt | ( | ) | [inline] |
| virtual bool sofa::simulation::SolveVisitor::isThreadSafe | ( | ) | const [inline, virtual] |
Specify whether this action can be parallelized.
Reimplemented from sofa::simulation::Visitor.
Definition at line 53 of file SolveVisitor.h.
| Visitor::Result sofa::simulation::SolveVisitor::processNodeTopDown | ( | simulation::Node * | ) | [virtual] |
Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.
Reimplemented from sofa::simulation::Visitor.
Definition at line 38 of file SolveVisitor.cpp.
References sofa::simulation::Visitor::for_each(), processSolver(), sofa::simulation::Visitor::RESULT_CONTINUE, and sofa::simulation::Node::solver.
| void sofa::simulation::SolveVisitor::processSolver | ( | simulation::Node * | node, | |
| core::componentmodel::behavior::OdeSolver * | b | |||
| ) |
Definition at line 33 of file SolveVisitor.cpp.
References dt, and sofa::core::componentmodel::behavior::OdeSolver::solve().
Referenced by processNodeTopDown().
| void sofa::simulation::SolveVisitor::setDt | ( | double | _dt | ) | [inline] |
double sofa::simulation::SolveVisitor::dt [protected] |
1.5.7.1