Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SimSimulator::ModPCGSolver Class Reference

Collaboration diagram for SimSimulator::ModPCGSolver:

Collaboration graph
[legend]
List of all members.

Public Methods

 ModPCGSolver ()
void preStep ()
void step ()
bool done () const
const SimVectorresult () const
void setTolerance (Float)
 Specify the tolerance.

Float getTolerance () const
 Access the tolerance.


Public Attributes

std::vector< GeMatrix3_S
SimVector _z
SymMatrix _A
SimVector _b

Private Methods

void setupPreconditioner ()
void setupCG ()
SimVector filter (const SimVector &) const
void filterInPlace (SimVector &) const

Private Attributes

SimMatrix _P
SimMatrix _Pinv
bool _done
UInt32 _nbSteps
Float _tolerance
SimVector _x
SimVector _r
SimVector _c
Float _delta0
Float _deltaNew
SimVector _q
SimVector _s

Detailed Description

Preconditioned modified conjugate gradient solver. Solves a linear system Ax=b subject to constraints defined by S and z, as defined by [BarWit98] in section 5.3.

Definition at line 282 of file simSimulator.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 16:51:32 2003 for Freecloth by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002