Overture  Version 25
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 
19 {
20  public:
21  HarwellEquationSolver(Oges & oges_);
22  virtual ~HarwellEquationSolver();
23 
24  virtual int solve(realCompositeGridFunction & u,
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
37 
39 };
40 
41 
42 #endif