1 |
/* $Id$ */ |
/* $Id$ */ |
2 |
|
|
3 |
|
|
4 |
|
/* |
5 |
|
******************************************************************************** |
6 |
|
* Copyright 2006 by ACcESS MNRF * |
7 |
|
* * |
8 |
|
* http://www.access.edu.au * |
9 |
|
* Primary Business: Queensland, Australia * |
10 |
|
* Licensed under the Open Software License version 3.0 * |
11 |
|
* http://www.opensource.org/licenses/osl-3.0.php * |
12 |
|
******************************************************************************** |
13 |
|
*/ |
14 |
|
|
15 |
/**************************************************************/ |
/**************************************************************/ |
16 |
|
|
17 |
/* Paso: SystemMatrix: sets-up the preconditioner */ |
/* Paso: SystemMatrix: sets-up the preconditioner */ |
23 |
|
|
24 |
/**************************************************************/ |
/**************************************************************/ |
25 |
|
|
26 |
#include "Paso.h" |
#include "../Paso.h" |
27 |
#include "SystemMatrix.h" |
#include "../SystemMatrix.h" |
28 |
#include "Solver.h" |
#include "Solver.h" |
29 |
|
|
30 |
/***********************************************************************************/ |
/***********************************************************************************/ |
66 |
break; |
break; |
67 |
case PASO_RILU: |
case PASO_RILU: |
68 |
if (options->verbose) printf("RILU preconditioner is used.\n"); |
if (options->verbose) printf("RILU preconditioner is used.\n"); |
69 |
prec->ilu=Paso_Solver_getRILU(A,options->verbose); |
prec->rilu=Paso_Solver_getRILU(A,options->verbose); |
70 |
prec->type=PASO_RILU; |
prec->type=PASO_RILU; |
71 |
break; |
break; |
72 |
} |
} |