Chombo + EB + MF  3.2
MFSimpleSolver.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _MFSIMPLESOLVER_H_
12 #define _MFSIMPLESOLVER_H_
13 
14 #include "LevelData.H"
15 #include "LinearSolver.H"
16 #include "MultiGrid.H"
17 
18 #include "MFCellFAB.H"
19 #include "NamespaceHeader.H"
20 
21 class MFSimpleSolver : public LinearSolver<LevelData<MFCellFAB> >
22 {
23 public:
25 
27 
28  virtual ~MFSimpleSolver();
29 
30  virtual void setHomogeneous(bool a_homogeneous);
31 
32  virtual void define(LinearOp<LevelData<MFCellFAB> >* a_operator,
33  bool a_homogeneous);
34 
35  virtual void setNumSmooths(const int& a_numSmooths);
36 
37  virtual void solve(LevelData<MFCellFAB>& a_phi,
38  const LevelData<MFCellFAB>& a_rhs);
39 
40 private:
42 
44 
47 };
48 
49 #include "NamespaceFooter.H"
50 #endif
Definition: MFSimpleSolver.H:21
Definition: LinearSolver.H:28
virtual void setHomogeneous(bool a_homogeneous)
bool m_homogeneous
Definition: MFSimpleSolver.H:45
int m_numSmooths
Definition: MFSimpleSolver.H:46
virtual void solve(LevelData< MFCellFAB > &a_phi, const LevelData< MFCellFAB > &a_rhs)
virtual ~MFSimpleSolver()
Definition: MultiGrid.H:30
Definition: LinearSolver.H:156
MGLevelOp< LevelData< MFCellFAB > > * m_operator
Definition: MFSimpleSolver.H:43
virtual void define(LinearOp< LevelData< MFCellFAB > > *a_operator, bool a_homogeneous)
int m_verbosity
Definition: MFSimpleSolver.H:24
bool m_isDefined
Definition: MFSimpleSolver.H:41
virtual void setNumSmooths(const int &a_numSmooths)