Memosa-FVM  0.2
DirectSolver.h
Go to the documentation of this file.
1 // This file os part of FVM
2 // Copyright (c) 2012 FVM Authors
3 // See LICENSE file for terms.
4 
5 #ifndef _DirectSolver_H_
6 #define _DirectSolver_H_
7 
8 #include <vector>
9 #include <cmath>
10 #include "LinearSystem.h"
11 #include "LinearSolver.h"
12 
13 #include "MultiFieldReduction.h"
14 
15 using namespace std;
16 
22 class DirectSolver : public LinearSolver
23 {
24 public:
25 
26 
27  DirectSolver();
28  virtual ~DirectSolver();
29 
30  virtual void cleanup();
31 
32  virtual MFRPtr solve(LinearSystem & ls);
33  virtual void smooth(LinearSystem & ls);
34 
35 
36 private:
37 
38  DirectSolver(const DirectSolver&);
39 
40 };
41 
42 #endif
shared_ptr< MultiFieldReduction > MFRPtr