sofa::simulation::MechanicalAccFromFVisitor Class Reference

Compute accelerations generated by given forces. More...

#include <MechanicalVisitor.h>

Inheritance diagram for sofa::simulation::MechanicalAccFromFVisitor:

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

Collaboration graph
[legend]

Public Member Functions

 MechanicalAccFromFVisitor (VecId a, VecId f)
virtual Result fwdMechanicalState (simulation::Node *, core::componentmodel::behavior::BaseMechanicalState *mm)
 Process the BaseMechanicalState if it is not mapped from the parent level.
virtual Result fwdMass (simulation::Node *, core::componentmodel::behavior::BaseMass *mass)
 Process the BaseMass.
virtual bool isThreadSafe () const
 Specify whether this action can be parallelized.

Data Fields

VecId a
VecId f

Detailed Description

Compute accelerations generated by given forces.

Definition at line 429 of file MechanicalVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::MechanicalAccFromFVisitor::MechanicalAccFromFVisitor ( VecId  a,
VecId  f 
) [inline]

Definition at line 434 of file MechanicalVisitor.h.


Member Function Documentation

Visitor::Result sofa::simulation::MechanicalAccFromFVisitor::fwdMass ( simulation::Node *  ,
core::componentmodel::behavior::BaseMass *   
) [virtual]

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

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

Specify whether this action can be parallelized.

Reimplemented from sofa::simulation::Visitor.

Definition at line 440 of file MechanicalVisitor.h.


Field Documentation

Definition at line 432 of file MechanicalVisitor.h.

Referenced by fwdMechanicalState().

Definition at line 433 of file MechanicalVisitor.h.

Referenced by fwdMechanicalState().


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