sofa::simulation::MechanicalPropagateAndAddDxVisitor Class Reference

#include <MechanicalVisitor.h>

Inheritance diagram for sofa::simulation::MechanicalPropagateAndAddDxVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 MechanicalPropagateAndAddDxVisitor (VecId dx=VecId::dx())
virtual Result fwdMechanicalMapping (simulation::Node *, core::componentmodel::behavior::BaseMechanicalMapping *map)
 Process the BaseMechanicalMapping.
virtual Result fwdMappedMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *mm)
 Process the BaseMechanicalState if it is mapped from the parent level.
virtual bool isThreadSafe () const
 Specify whether this action can be parallelized.

Data Fields

VecId dx

Detailed Description

Definition at line 349 of file MechanicalVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::MechanicalPropagateAndAddDxVisitor::MechanicalPropagateAndAddDxVisitor ( VecId  dx = VecId::dx()  )  [inline]

Definition at line 353 of file MechanicalVisitor.h.


Member Function Documentation

Visitor::Result sofa::simulation::MechanicalPropagateAndAddDxVisitor::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 258 of file MechanicalVisitor.cpp.

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

Visitor::Result sofa::simulation::MechanicalPropagateAndAddDxVisitor::fwdMechanicalMapping ( simulation::Node *  ,
core::componentmodel::behavior::BaseMechanicalMapping *   
) [virtual]

virtual bool sofa::simulation::MechanicalPropagateAndAddDxVisitor::isThreadSafe (  )  const [inline, virtual]

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 365 of file MechanicalVisitor.h.


Field Documentation

Definition at line 352 of file MechanicalVisitor.h.


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

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