BISICLES AMR ice sheet model  0.9
MultilevelIceVelOp.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 
12 // We can assume that template class T has null construction.
13 
14 #ifndef _MULTILEVELICEVELOP_H_
15 #define _MULTILEVELICEVELOP_H_
16 
17 #include <cmath>
18 
19 #include "RefCountedPtr.H"
20 #include "Vector.H"
21 #include "RealVect.H"
22 #include "LevelData.H"
23 #include "MultilevelLinearOp.H"
24 
25 #include "NamespaceHeader.H"
26 
31 
33 
38 class MultilevelIceVelOp : public MultilevelLinearOp<FArrayBox>
39 {
40 
41 public:
44 
46 
48  virtual void define(const Vector<DisjointBoxLayout>& a_vectGrids,
49  const Vector<int>& a_refRatios,
50  const Vector<ProblemDomain>& a_domains,
51  const Vector<RealVect>& a_vectDx,
52  RefCountedPtr<AMRLevelOpFactory<LevelData<FArrayBox> > >& a_opFactory,
53  int a_lBase);
54 
55 
57  virtual ~MultilevelIceVelOp();
58 
61 
62 };
63 
64 #include "NamespaceFooter.H"
65 
66 #endif /*_MULTILEVELICEVELOP_H_*/
Definition: MultilevelIceVelOp.H:27
int m_bottom_solver_type
Definition: MultilevelIceVelOp.H:60
virtual void define(const Vector< DisjointBoxLayout > &a_vectGrids, const Vector< int > &a_refRatios, const Vector< ProblemDomain > &a_domains, const Vector< RealVect > &a_vectDx, RefCountedPtr< AMRLevelOpFactory< LevelData< FArrayBox > > > &a_opFactory, int a_lBase)
define function – opFactory should be able to define all required levels
Definition: MultilevelIceVelOp.cpp:34
Definition: MultilevelIceVelOp.H:30
Definition: MultilevelIceVelOp.H:29
bottomSolverTypes
Definition: MultilevelIceVelOp.H:27
MultilevelIceVelOp()
default constructor (sets defaults for preconditioner)
Definition: MultilevelIceVelOp.cpp:24
Definition: MultilevelIceVelOp.H:38
Definition: MultilevelIceVelOp.H:28
virtual ~MultilevelIceVelOp()
Definition: MultilevelIceVelOp.cpp:137