sofa::component::odesolver::ComplianceArticulatedSystemSolver Class Reference

#include <ComplianceArticulatedSystemSolver.h>

Inheritance diagram for sofa::component::odesolver::ComplianceArticulatedSystemSolver:

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

Collaboration graph
[legend]

Detailed Description

Solver to test compliance computation for new articulated system objects.

Definition at line 54 of file ComplianceArticulatedSystemSolver.h.


Public Member Functions

void init ()
 Initialization method called after each graph modification.
 ComplianceArticulatedSystemSolver ()
void solve (double dt)
 Main computation method.

Data Fields

Data< unsigned intf_maxCGIter
Data< doublef_smallDenominatorThreshold
Data< boolfirstCallToSolve
simulation::tree::GNodecontext
component::MechanicalObject
< Vec1dTypes > * 
articulations
component::MechanicalObject
< RigidTypes > * 
Objects6D
NewMatVectordxfree
int frame
sofa::component::container::ArticulatedHierarchyContainerahc

Constructor & Destructor Documentation

sofa::component::odesolver::ComplianceArticulatedSystemSolver::ComplianceArticulatedSystemSolver (  ) 

Definition at line 47 of file ComplianceArticulatedSystemSolver.cpp.

References dxfree, and frame.


Member Function Documentation

void sofa::component::odesolver::ComplianceArticulatedSystemSolver::init ( void   )  [virtual]

Initialization method called after each graph modification.

Reimplemented from sofa::core::objectmodel::BaseObject.

Definition at line 56 of file ComplianceArticulatedSystemSolver.cpp.

References ahc, articulations, sofa::simulation::tree::GNode::child, context, dxfree, sofa::defaulttype::NewMatVector::element(), sofa::core::objectmodel::BaseObject::getContext(), sofa::simulation::tree::GNode::getMechanicalState(), sofa::simulation::tree::GNode::getTreeObject(), Objects6D, and sofa::defaulttype::NewMatVector::resize().

void sofa::component::odesolver::ComplianceArticulatedSystemSolver::solve ( double  dt  )  [virtual]

Main computation method.

Specify and execute all computation for timestep integration, i.e. advancing the state from time t to t+dt.

Implements sofa::core::componentmodel::behavior::OdeSolver.

Definition at line 71 of file ComplianceArticulatedSystemSolver.cpp.

References ahc, articulations, sofa::component::container::ArticulatedHierarchyContainer::chargedFromFile, context, sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::dx(), dxfree, firstCallToSolve, sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::force(), frame, sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::freePosition(), sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::freeVelocity(), sofa::simulation::tree::GNode::getTreeObjects(), sofa::core::objectmodel::Data< T >::getValue(), sofa::simulation::tree::OdeSolverImpl::multiVectorPeqBaseVector(), sofa::component::container::ArticulatedHierarchyContainer::numOfFrames, Objects6D, sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::position(), sofa::core::objectmodel::Data< T >::setValue(), and sofa::core::componentmodel::behavior::BaseMechanicalState::VecId::velocity().


Field Documentation

Data<unsigned int> sofa::component::odesolver::ComplianceArticulatedSystemSolver::f_maxCGIter

Definition at line 58 of file ComplianceArticulatedSystemSolver.h.

Data<double> sofa::component::odesolver::ComplianceArticulatedSystemSolver::f_smallDenominatorThreshold

Definition at line 59 of file ComplianceArticulatedSystemSolver.h.

Data<bool> sofa::component::odesolver::ComplianceArticulatedSystemSolver::firstCallToSolve

Definition at line 60 of file ComplianceArticulatedSystemSolver.h.

Referenced by solve().

simulation::tree::GNode* sofa::component::odesolver::ComplianceArticulatedSystemSolver::context

Definition at line 61 of file ComplianceArticulatedSystemSolver.h.

Referenced by init(), and solve().

component::MechanicalObject<Vec1dTypes>* sofa::component::odesolver::ComplianceArticulatedSystemSolver::articulations

Definition at line 62 of file ComplianceArticulatedSystemSolver.h.

Referenced by init(), and solve().

component::MechanicalObject<RigidTypes>* sofa::component::odesolver::ComplianceArticulatedSystemSolver::Objects6D

Definition at line 63 of file ComplianceArticulatedSystemSolver.h.

Referenced by init(), and solve().

NewMatVector* sofa::component::odesolver::ComplianceArticulatedSystemSolver::dxfree

Definition at line 64 of file ComplianceArticulatedSystemSolver.h.

Referenced by ComplianceArticulatedSystemSolver(), init(), and solve().

int sofa::component::odesolver::ComplianceArticulatedSystemSolver::frame

Definition at line 65 of file ComplianceArticulatedSystemSolver.h.

Referenced by ComplianceArticulatedSystemSolver(), and solve().

sofa::component::container::ArticulatedHierarchyContainer* sofa::component::odesolver::ComplianceArticulatedSystemSolver::ahc

Definition at line 66 of file ComplianceArticulatedSystemSolver.h.

Referenced by init(), and solve().


The documentation for this class was generated from the following files:
Generated on Mon May 5 23:39:20 2008 for Sofa by  doxygen 1.5.3