sofa::simulation::MechanicalAddMBK_ToMatrixVisitor Class Reference

Accumulate the entries of a dynamics matrix (mass or stiffness) of the whole scene. More...

#include <MechanicalMatrixVisitor.h>

Inheritance diagram for sofa::simulation::MechanicalAddMBK_ToMatrixVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 MechanicalAddMBK_ToMatrixVisitor (BaseMatrix *_mat, double _m=0.0, double _b=0.0, double _k=0.0, unsigned int _offset=0)
virtual Result fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *ms)
 Process the BaseMechanicalState if it is not mapped from the parent level.
virtual Result fwdForceField (simulation::Node *, core::componentmodel::behavior::BaseForceField *ff)
 Process all the BaseForceField.
virtual Result fwdConstraint (simulation::Node *, core::componentmodel::behavior::BaseConstraint *c)
 Process all the BaseConstraint.

Data Fields

BaseMatrix * mat
double m
double b
double k

Detailed Description

Accumulate the entries of a dynamics matrix (mass or stiffness) of the whole scene.

Definition at line 198 of file MechanicalMatrixVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::MechanicalAddMBK_ToMatrixVisitor ( BaseMatrix *  _mat,
double  _m = 0.0,
double  _b = 0.0,
double  _k = 0.0,
unsigned int  _offset = 0 
) [inline]


Member Function Documentation

virtual Result sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::fwdConstraint ( simulation::Node *  ,
core::componentmodel::behavior::BaseConstraint *   
) [inline, virtual]

virtual Result sofa::simulation::MechanicalAddMBK_ToMatrixVisitor::fwdForceField ( simulation::Node *  ,
core::componentmodel::behavior::BaseForceField *   
) [inline, virtual]

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


Field Documentation

Definition at line 202 of file MechanicalMatrixVisitor.h.

Referenced by fwdForceField().

Definition at line 202 of file MechanicalMatrixVisitor.h.

Referenced by fwdForceField().

Definition at line 202 of file MechanicalMatrixVisitor.h.

Referenced by fwdForceField().

Definition at line 201 of file MechanicalMatrixVisitor.h.

Referenced by fwdConstraint(), and fwdForceField().


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