Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
YaleEquationSolver.h
Go to the documentation of this file.
1
#ifndef YALE_EQUATION_SOLVER_H
2
#define YALE_EQUATION_SOLVER_H
3
4
//
5
// Yale solver for Oges
6
//
7
8
//kkc 040415 #include <iostream.h>
9
#include "
OvertureDefine.h
"
10
#include OV_STD_INCLUDE(iostream)
11
12
#include <math.h>
13
#include <assert.h>
14
15
#include "
EquationSolver.h
"
16
17
18
class
YaleEquationSolver
:
public
EquationSolver
19
{
20
public
:
21
YaleEquationSolver
(
Oges
& oges_);
22
virtual
~YaleEquationSolver
();
23
24
virtual
int
solve
(
realCompositeGridFunction
& u,
25
realCompositeGridFunction
& f);
26
27
virtual
real
sizeOf
( FILE *file=
NULL
);
// return number of bytes allocated
28
virtual
int
printStatistics
( FILE *file = stdout )
const
;
// output any relevant statistics
29
protected
:
30
int
solve
();
31
int
allocateWorkSpace
();
32
33
34
IntegerArray
perm
,
iperm
;
35
int
nsp
;
36
RealArray
rsp
;
37
int
solverJob
;
38
int
yaleExcessWorkSpace
;
39
40
real
fillinRatio
;
41
42
static
real
timeForBuild
,
timeForSolve
,
timeForTransfer
;
43
44
45
};
46
47
48
#endif
Generated on Fri Jan 4 2013 10:18:01 for Overture by
1.8.3