Toast++
1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Main Page
Related Pages
Modules
Classes
Files
File List
libmath
ilutoast.h
1
#ifndef __ILUTOAST_H
2
#define __ILUTOAST_H
3
4
#ifdef HAVE_ILU
5
6
#include <ilupack.h>
7
#include "mathlib.h"
8
9
#define ILUPERM_NULL 0
10
#define ILUPERM_MMD 1
11
#define ILUPERM_RCM 2
12
#define ILUPERM_ND 3
13
#define ILUPERM_INDSET 4
14
#define ILUPERM_AMF 5
15
#define ILUPERM_AMD 6
16
#define ILUPERM_PQ 7
17
18
void
ILUSetPermtype (
int
ptype);
19
20
//void ILUSolveDGNL (const RCompRowMatrix &A, const RVector &b, RVector &x);
21
int
ILUSolveZGNL (
const
CCompRowMatrix
&A,
const
CVector
&b,
CVector
&x,
22
double
tol=1e-10,
double
droptol=1e-3,
int
maxit=500);
23
int
ILUSolveZSYM (
const
CCompRowMatrix
&A,
const
CVector
&b,
CVector
&x,
24
double
tol=1e-10,
double
droptol=1e-3,
int
maxit=500);
25
void
CreateZmat (
const
CCompRowMatrix
&A, Zmat *mat);
26
void
CreateDmat (
const
RCompRowMatrix
&A, Dmat *mat);
27
void
CreateCmat (
const
SCCompRowMatrix
&A, Cmat *mat);
28
void
CreateSmat (
const
FCompRowMatrix
&A, Smat *mat);
29
30
#endif // HAVE_ILU
31
32
#endif // !__ILUTOAST_H
TVector< std::complex< double > >
TCompRowMatrix
Compressed-row sparse matrix class.
Definition:
cdmatrix.h:27
Generated on Tue Sep 2 2014 17:14:26 for Toast++ by
1.8.6