sofa::core::componentmodel::behavior::MasterSolver Class Reference

Component responsible for main simulation algorithms, managing how and when collisions and integrations computations happen. More...

#include <MasterSolver.h>

Inheritance diagram for sofa::core::componentmodel::behavior::MasterSolver:

Inheritance graph
[legend]
Collaboration diagram for sofa::core::componentmodel::behavior::MasterSolver:

Collaboration graph
[legend]

Public Member Functions

 MasterSolver ()
virtual ~MasterSolver ()
virtual void step (double dt)=0
 Main computation method.
Visitors
These methods provides an abstract view of the mechanical system to animate.

They are implemented by executing Visitors in the subtree of the scene-graph below this solver.

virtual void computeCollision ()=0
 Activate collision pipeline.
virtual void integrate (double dt)=0
 Activate OdeSolvers.

Detailed Description

Component responsible for main simulation algorithms, managing how and when collisions and integrations computations happen.

This class can optionally replace the default computation scheme of computing collisions then doing an integration step.

Note that it is in a preliminary stage, hence its fonctionnalities and API will certainly change soon.

Definition at line 56 of file MasterSolver.h.


Constructor & Destructor Documentation

sofa::core::componentmodel::behavior::MasterSolver::MasterSolver (  ) 

Definition at line 46 of file MasterSolver.cpp.

sofa::core::componentmodel::behavior::MasterSolver::~MasterSolver (  )  [virtual]

Definition at line 49 of file MasterSolver.cpp.


Member Function Documentation

virtual void sofa::core::componentmodel::behavior::MasterSolver::computeCollision (  )  [pure virtual]

Activate collision pipeline.

Implemented in sofa::simulation::MasterSolverImpl.

virtual void sofa::core::componentmodel::behavior::MasterSolver::integrate ( double  dt  )  [pure virtual]

Activate OdeSolvers.

Implemented in sofa::simulation::MasterSolverImpl.

virtual void sofa::core::componentmodel::behavior::MasterSolver::step ( double  dt  )  [pure virtual]

Main computation method.

Specify and execute all computations for computing a timestep, such as one or more collisions and integrations stages.

Implemented in sofa::component::mastersolver::DefaultMasterSolver, sofa::component::odesolver::MasterContactSolver, and sofa::component::mastersolver::MultiStepMasterSolver.

Referenced by sofa::simulation::AnimateVisitor::processMasterSolver().


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:22:41 2008 for Sofa by  doxygen 1.5.7.1