CG  Version 25
LineSolve.h
Go to the documentation of this file.
1 #ifndef LINE_SOLVE_H
2 #define LINE_SOLVE_H
3 
4 #include "Overture.h"
5 
6 class TridiagonalSolver;
7 
8 // This class holds the state and data associated with the cg line solver.
9 
10 class LineSolve
11 {
12 public:
13 
14 LineSolve();
15 ~LineSolve();
16 
17 real sizeOf( FILE *file=NULL ) const ; // return number of bytes allocated, print info to a file
18 
19 
20 
21 TridiagonalSolver **pTridiagonalSolvers;
22 IntegerArray lineSolveIsInitialized;
23 
24 real maximumSizeAllocated; // keep track of the maximum number of bytes allocated
25 
26 
27 };
28 
29 
30 #endif