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 Member Functions

void preStep ()
void step ()
bool done () const
const SimVector & result () 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 Member Functions

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 280 of file simSimulator.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 15:59:01 2003 for Freecloth by doxygen1.3-rc3