Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
HarwellEquationSolver.h
Go to the documentation of this file.
1
#ifndef HARWELL_EQUATION_SOLVER_H
2
#define HARWELL_EQUATION_SOLVER_H
3
4
//
5
// Harwell 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
HarwellEquationSolver
:
public
EquationSolver
19
{
20
public
:
21
HarwellEquationSolver
(
Oges
& oges_);
22
virtual
~HarwellEquationSolver
();
23
24
virtual
int
solve
(
realCompositeGridFunction
& u,
25
realCompositeGridFunction
& f);
26
27
virtual
real
sizeOf
( FILE *file=
NULL
);
// return number of bytes allocated
28
29
protected
:
30
int
solve
();
31
int
allocateWorkSpace
();
32
33
34
int
solverJob
;
35
RealArray
wh
;
// for harwell
36
IntegerArray
ikeep
,
iwh
;
37
38
real
fillinRatio
,
fillinRatio2
;
39
};
40
41
42
#endif
Generated on Fri Jan 4 2013 10:17:53 for Overture by
1.8.3