sofa::component::odesolver::MechanicalApplyContactForceVisitor Class Reference

#include <MasterContactSolver.h>

Inheritance diagram for sofa::component::odesolver::MechanicalApplyContactForceVisitor:

Inheritance graph
[legend]
Collaboration diagram for sofa::component::odesolver::MechanicalApplyContactForceVisitor:

Collaboration graph
[legend]

Public Member Functions

 MechanicalApplyContactForceVisitor (double *f)
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.

Data Fields

VecId force

Private Attributes

double * _f

Detailed Description

Definition at line 113 of file MasterContactSolver.h.


Constructor & Destructor Documentation

sofa::component::odesolver::MechanicalApplyContactForceVisitor::MechanicalApplyContactForceVisitor ( double *  f  )  [inline]

Definition at line 117 of file MasterContactSolver.h.


Member Function Documentation

virtual Result sofa::component::odesolver::MechanicalApplyContactForceVisitor::fwdMappedMechanicalState ( simulation::Node *  ,
core::componentmodel::behavior::BaseMechanicalState *   
) [inline, virtual]

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

Reimplemented from sofa::simulation::MechanicalVisitor.

Definition at line 126 of file MasterContactSolver.h.

References _f, sofa::core::componentmodel::behavior::BaseMechanicalState::applyContactForce(), and sofa::simulation::Visitor::RESULT_CONTINUE.

virtual Result sofa::component::odesolver::MechanicalApplyContactForceVisitor::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::MechanicalVisitor.

Definition at line 120 of file MasterContactSolver.h.

References _f, sofa::core::componentmodel::behavior::BaseMechanicalState::applyContactForce(), and sofa::simulation::Visitor::RESULT_CONTINUE.


Field Documentation

Definition at line 133 of file MasterContactSolver.h.

Referenced by fwdMappedMechanicalState(), and fwdMechanicalState().

Definition at line 116 of file MasterContactSolver.h.


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

Generated on Sun Nov 23 04:21:17 2008 for Sofa by  doxygen 1.5.7.1