ccf_pcgm.c File Reference


Functions

void PCGMSolve_sparse (vector sol, const sparse A, const vector b, sparse *PC, double *state)


Function Documentation

void PCGMSolve_sparse vector  sol,
const sparse  A,
const vector  b,
sparse PC,
double *  state
 

Solve A*sol=b with PC - preconditioner (either filled or will be returned), state - parameters for solution:

state[0]=MaxIter(max. iterations)

state[1]=epsilon(precision/relative)

state[2]=print residuals each iteration

state[3]=GMRES restarts

state[4]=print residuals each iteration

state[5]=show 1 - header, 2 - convergent, 4 - nonconvergent (logical addition)

state[6]=precision(absolute)

state[7]=

state[8]=OUTPUT: no. of performed iterations

state[9]=achieved precision


Generated on Sun May 27 11:59:43 2007 for FEMFLUID by  doxygen 1.4.6