#include <cg.h>
Inheritance diagram for csfl::ISolverConjugateGradient::
Public Methods | |
ISolverConjugateGradient (ILinearSystem *=NULL, double=0.00001, int=10000, IContainerParameter *=NULL) | |
ISolverConjugateGradient (ISolverConjugateGradient *) | |
~ISolverConjugateGradient () | |
void | Solve () |
void | Solve (ILinearSystem *_lsys) |
bool | Transpose () |
void | SetTranspose (bool _b) |
void | SetToleranceLevel (int _t) |
int | ToleranceLevel () |
double | SolverError () |
Protected Methods | |
void | Sprsin (int, double, unsigned long, double[], unsigned long[]) |
void | Dsprsax (double[], unsigned long[], double[], double[], unsigned long) |
void | Dsprstx (double[], unsigned long[], double[], double[], unsigned long) |
void | Atimes (unsigned long, double[], double[], int) |
void | Asolve (unsigned long, double[], double[], int) |
void | Linbcg (unsigned long, double[], double[], int, double, int, int *, double *) |
double | Snrm (unsigned long, double[], int) |
void | CG () |
void | NewMemory () |
void | DeleteMemory () |
Protected Attributes | |
double* | sa |
double* | vx |
double * | vb |
unsigned long* | ija |
bool | mem |
bool | isTranspose |
int | nmax |
int | level |
double | serror |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from csfl::ISolverIteract. |
|
Resolve o sistema linear de equações até que um dos critérios de convergência seja atingido: i) Erro menor do que a tolerância especificada, ii) Número de iterações igual ao máximo especificado. Reimplemented from csfl::ISolverIteract. |
|
Retorna o valor do erro encontrado na resolução do sistema linear. Reimplemented from csfl::ISolverIteract. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CFD Project
|
Documents |
Downloads |
Contact us |
Use Terms |
|
|||
© SINMEC/EMC/UFSC,
2001. |
All rights
reserved. |
Last Update: Jan. 18, 2002 |
|