sofa::simulation::MechanicalComputeComplianceVisitor Class Reference

#include <MechanicalVisitor.h>

Inheritance diagram for sofa::simulation::MechanicalComputeComplianceVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 MechanicalComputeComplianceVisitor (double **W)
virtual Result fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *ms)
 Process the BaseMechanicalState if it is not mapped from the parent level.
virtual Result fwdMappedMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *ms)
 Process the BaseMechanicalState if it is mapped from the parent level.

Private Attributes

double ** _W

Detailed Description

Definition at line 723 of file MechanicalVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::MechanicalComputeComplianceVisitor::MechanicalComputeComplianceVisitor ( double **  W  )  [inline]

Definition at line 726 of file MechanicalVisitor.h.


Member Function Documentation

Visitor::Result sofa::simulation::MechanicalComputeComplianceVisitor::fwdMappedMechanicalState ( simulation::Node *  ,
core::componentmodel::behavior::BaseMechanicalState *   
) [virtual]

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

Reimplemented from sofa::simulation::MechanicalVisitor.

Definition at line 525 of file MechanicalVisitor.cpp.

References _W, sofa::core::componentmodel::behavior::BaseMechanicalState::getCompliance(), and sofa::simulation::Visitor::RESULT_CONTINUE.

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

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

Reimplemented from sofa::simulation::MechanicalVisitor.

Definition at line 520 of file MechanicalVisitor.cpp.

References _W, sofa::core::componentmodel::behavior::BaseMechanicalState::getCompliance(), and sofa::simulation::Visitor::RESULT_PRUNE.


Field Documentation

Definition at line 733 of file MechanicalVisitor.h.

Referenced by fwdMappedMechanicalState(), and fwdMechanicalState().


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

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