sofa::simulation::MechanicalGetMatrixDimensionVisitor Class Reference

Compute the size of a dynamics matrix (mass or stiffness) of the whole scene. More...

#include <MechanicalMatrixVisitor.h>

Inheritance diagram for sofa::simulation::MechanicalGetMatrixDimensionVisitor:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::MechanicalGetMatrixDimensionVisitor:

Collaboration graph
[legend]

Public Member Functions

 MechanicalGetMatrixDimensionVisitor (unsigned int *const _nbRow, unsigned int *const _nbCol)
virtual Result fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *ms)
 Process the BaseMechanicalState if it is not mapped from the parent level.

Data Fields

unsigned int *const nbRow
unsigned int *const nbCol

Detailed Description

Compute the size of a dynamics matrix (mass or stiffness) of the whole scene.

Definition at line 180 of file MechanicalMatrixVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::MechanicalGetMatrixDimensionVisitor::MechanicalGetMatrixDimensionVisitor ( unsigned int *const   _nbRow,
unsigned int *const   _nbCol 
) [inline]

Definition at line 185 of file MechanicalMatrixVisitor.h.


Member Function Documentation

virtual Result sofa::simulation::MechanicalGetMatrixDimensionVisitor::fwdMechanicalState ( simulation::Node *  ,
core::componentmodel::behavior::BaseMechanicalState *   
) [inline, virtual]

Process the BaseMechanicalState if it is not mapped from the parent level.

Reimplemented from sofa::simulation::MechanicalMatrixVisitor.

Definition at line 189 of file MechanicalMatrixVisitor.h.

References sofa::core::componentmodel::behavior::BaseMechanicalState::contributeToMatrixDimension(), nbCol, nbRow, and sofa::simulation::Visitor::RESULT_CONTINUE.


Field Documentation

Definition at line 184 of file MechanicalMatrixVisitor.h.

Referenced by fwdMechanicalState().

Definition at line 183 of file MechanicalMatrixVisitor.h.

Referenced by fwdMechanicalState().


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

Generated on Sun Nov 23 04:24:25 2008 for Sofa by  doxygen 1.5.7.1