Chombo + EB  3.2
EBAMRGodunovFactory.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 _EBAMRGODUNOVFACTORY_H_
12 #define _EBAMRGODUNOVFACTORY_H_
13 
14 #include "EBAMRGodunov.H"
15 #include "AMRLevelFactory.H"
16 #include "EBPatchGodunovFactory.H"
17 #include "NamespaceHeader.H"
18 
19 ///
20 /**
21  */
23 {
24 public:
25  ///
26  AMRLevel* new_amrlevel() const;
27 
28  ///
29  EBAMRGodunovFactory(const Real& a_initialDtMultiplier,
30  const Real& a_cfl,
31  const int & a_redistRad,
32  const RealVect& a_domainLength,
33  const Real& a_refineThresh,
34  const int & a_tagBufferSize,
35  const int & a_verbosity,
36  const bool& a_useMassRedist,
37  const bool& a_doSmushing,
38  const bool& a_doRZCoords,
39  const bool& a_hasSourceTerm,
40  const EBPatchGodunovFactory* const a5_patchGodunov,
41  bool a_tagAll = false);
42 
43  ///
44  virtual ~EBAMRGodunovFactory();
45 
46 protected:
47  bool m_tagAll;
60 
61 
62 private:
64  {
65  MayDay::Error("invalid operator");
66  }
67 
68  //disallowed for all the usual reasons
69  void operator=(const EBAMRGodunovFactory& a_input)
70  {
71  MayDay::Error("invalid operator");
72  }
74  {
75  MayDay::Error("invalid operator");
76  }
77 
78 };
79 
80 #include "NamespaceFooter.H"
81 #endif
Definition: EBPatchGodunovFactory.H:20
RealVect m_domainLength
Definition: EBAMRGodunovFactory.H:51
Real m_initialDtMultiplier
Definition: EBAMRGodunovFactory.H:48
bool m_useMassRedist
Definition: EBAMRGodunovFactory.H:55
Abstract base class for time-dependent data at a level of refinement.
Definition: AMRLevel.H:47
int m_tagBufferSize
Definition: EBAMRGodunovFactory.H:53
EBAMRGodunovFactory()
Definition: EBAMRGodunovFactory.H:63
bool m_hasSourceTerm
Definition: EBAMRGodunovFactory.H:58
double Real
Definition: REAL.H:33
bool m_tagAll
Definition: EBAMRGodunovFactory.H:47
bool m_doRZCoords
Definition: EBAMRGodunovFactory.H:57
const EBPatchGodunovFactory * m_patchGodunov
Definition: EBAMRGodunovFactory.H:59
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
Real m_cfl
Definition: EBAMRGodunovFactory.H:49
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Real m_refineThresh
Definition: EBAMRGodunovFactory.H:52
void operator=(const EBAMRGodunovFactory &a_input)
Definition: EBAMRGodunovFactory.H:69
int m_redistRad
Definition: EBAMRGodunovFactory.H:50
int m_verbosity
Definition: EBAMRGodunovFactory.H:54
Factory class to produce an AMRLevel.
Definition: AMRLevelFactory.H:22
virtual ~EBAMRGodunovFactory()
EBAMRGodunovFactory(const EBAMRGodunovFactory &a_input)
Definition: EBAMRGodunovFactory.H:73
AMRLevel * new_amrlevel() const
bool m_doSmushing
Definition: EBAMRGodunovFactory.H:56
Definition: EBAMRGodunovFactory.H:22