Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
fwdsolver_cslu.h
1 // -*-C++-*-
2 // ==========================================================================
3 // Interface to SuperLU solver (singlecomplex version)
4 // ==========================================================================
5 
6 #ifndef __FWDSOLVER_CSLU_H
7 #define __FWDSOLVER_CSLU_H
8 
9 #include "fwdsolver.h"
10 
11 class CSuperLU_engine;
12 
13 class STOASTLIB CSuperLU {
14 public:
15  CSuperLU ();
16  ~CSuperLU ();
17  void Reset (const SCCompRowMatrix *F);
18  void CalcField (const SCVector &qvec, SCVector &phi,
19  IterativeSolverResult *res) const;
20 
21 private:
22  const SCCompRowMatrix *A;
23  CSuperLU_engine *engine;
24 };
25 
26 #endif // !__FWDSOLVER_CSLU_H
Templated vector class.
Definition: vector.h:39
Definition: fwdsolver_cslu.h:13
Definition: matrix.h:34