--- trunk/paso/src/Solvers/Solver_preconditioner.c 2005/11/09 02:02:19 155 +++ trunk/paso/src/Solvers/Solver_preconditioner.c 2006/01/10 04:10:39 425 @@ -30,14 +30,14 @@ void Paso_Solver_setPreconditioner(Paso_SystemMatrix* A,Paso_Options* options) { Paso_Solver_Preconditioner* prec=NULL; - if (A->iterative==NULL) { + if (A->solver==NULL) { /* allocate structure to hold preconditioner */ prec=MEMALLOC(1,Paso_Solver_Preconditioner); if (Paso_checkPtr(prec)) return; prec->type=UNKNOWN; prec->ilu=NULL; prec->jacobi=NULL; - A->iterative=prec; + A->solver=prec; switch (options->preconditioner) { default: case PASO_JACOBI: @@ -53,7 +53,7 @@ } if (! Paso_noError()) { Paso_Preconditioner_free(prec); - A->iterative=NULL; + A->solver=NULL; } } } @@ -62,7 +62,7 @@ /* has to be called within a parallel reqion */ /* barrier synchronization is performed before the evaluation to make sure that the input vector is available */ void Paso_Solver_solvePreconditioner(Paso_SystemMatrix* A,double* x,double* b){ - Paso_Solver_Preconditioner* prec=(Paso_Solver_Preconditioner*) A->iterative; + Paso_Solver_Preconditioner* prec=(Paso_Solver_Preconditioner*) A->solver; #pragma omp barrier switch (prec->type) { default: