sofa::component::odesolver::StaticSolver Class Reference

Finds the static equilibrium of a system. More...

#include <StaticSolver.h>

Inheritance diagram for sofa::component::odesolver::StaticSolver:

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

Collaboration graph
[legend]

Public Member Functions

 StaticSolver ()
void solve (double dt)
 Main computation method.
double getIntegrationFactor (int inputDerivative, int outputDerivative) const
 Given an input derivative order (0 for position, 1 for velocity, 2 for acceleration), how much will it affect the output derivative of the given order.
double getSolutionIntegrationFactor (int outputDerivative) const
 Given a solution of the linear system, how much will it affect the output derivative of the given order.

Data Fields

Data< double > massCoef
Data< double > dampingCoef
Data< double > stiffnessCoef

Detailed Description

Finds the static equilibrium of a system.

Can diverge when there are an infinity of solutions.

Definition at line 45 of file StaticSolver.h.


Constructor & Destructor Documentation

sofa::component::odesolver::StaticSolver::StaticSolver (  ) 

Definition at line 49 of file StaticSolver.cpp.


Member Function Documentation

double sofa::component::odesolver::StaticSolver::getIntegrationFactor ( int  inputDerivative,
int  outputDerivative 
) const [inline, virtual]

Given an input derivative order (0 for position, 1 for velocity, 2 for acceleration), how much will it affect the output derivative of the given order.

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

Definition at line 55 of file StaticSolver.h.

double sofa::component::odesolver::StaticSolver::getSolutionIntegrationFactor ( int  outputDerivative  )  const [inline, virtual]

Given a solution of the linear system, how much will it affect the output derivative of the given order.

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

Definition at line 69 of file StaticSolver.h.

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


Field Documentation

Definition at line 79 of file StaticSolver.h.

Referenced by solve().

Definition at line 78 of file StaticSolver.h.

Referenced by solve().

Definition at line 80 of file StaticSolver.h.

Referenced by solve().


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

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