Chombo + EB  3.2
EBSimpleSolver.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 _EBSIMPLESOLVER_H_
12 #define _EBSIMPLESOLVER_H_
13 
14 #include "LevelData.H"
15 #include "LinearSolver.H"
16 #include "MultiGrid.H"
17 
18 #include "EBCellFAB.H"
19 #include "NamespaceHeader.H"
20 
21 class EBSimpleSolver : public LinearSolver<LevelData<EBCellFAB> >
22 {
23 public:
25 
26  virtual ~EBSimpleSolver();
27 
28  virtual void setHomogeneous(bool a_homogeneous);
29 
30  virtual void define(LinearOp<LevelData<EBCellFAB> >* a_operator,
31  bool a_homogeneous);
32 
33  virtual void setNumSmooths(const int& a_numSmooths);
34 
35  virtual void solve(LevelData<EBCellFAB>& a_phi,
36  const LevelData<EBCellFAB>& a_rhs);
37 
38 private:
40 
42 
45 };
46 
47 #include "NamespaceFooter.H"
48 #endif
int m_numSmooths
Definition: EBSimpleSolver.H:44
Definition: LinearSolver.H:28
virtual void setHomogeneous(bool a_homogeneous)
Definition: EBSimpleSolver.H:21
bool m_isDefined
Definition: EBSimpleSolver.H:39
virtual ~EBSimpleSolver()
Definition: MultiGrid.H:30
virtual void setNumSmooths(const int &a_numSmooths)
Definition: LinearSolver.H:156
virtual void define(LinearOp< LevelData< EBCellFAB > > *a_operator, bool a_homogeneous)
bool m_homogeneous
Definition: EBSimpleSolver.H:43
MGLevelOp< LevelData< EBCellFAB > > * m_operator
Definition: EBSimpleSolver.H:41
virtual void solve(LevelData< EBCellFAB > &a_phi, const LevelData< EBCellFAB > &a_rhs)