Chombo + EB + MF  3.2
EBDebugOut.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 _EBDEBUGOUT_H_
12 #define _EBDEBUGOUT_H_
13 
14 
15 #include "DisjointBoxLayout.H"
16 #include "BoxLayout.H"
17 #include "BaseIFFAB.H"
18 #include "BaseIVFAB.H"
19 #include "MiniIVFAB.H"
20 #include "FaceIterator.H"
21 #include "Vector.H"
22 #include "Box.H"
23 #include "IntVectSet.H"
24 #include "FArrayBox.H"
25 #include "LevelData.H"
26 #include "LayoutIterator.H"
27 #include "BoxIterator.H"
28 #include "VolIndex.H"
29 #include "Stencils.H"
30 #include "NamespaceHeader.H"
31 
33 {
34 public:
35  static IntVect s_ivd;
36 };
37 
38 class EBCellFAB;
39 class EBFluxFAB;
40 //extern "C"
41 //{
42 ///
43 ///
44 void dumpEBLevelGhost(const LevelData<EBCellFAB>* a_level);
45 
46 void printMaxMinEBFlux(EBFluxFAB* a_data);
47 
48 void printMaxMinEBFace(EBFaceFAB* a_data);
49 
50 void checkLDFlux(const LevelData<EBFluxFAB>* a_flux);
51 void checkLDCell(const LevelData<EBCellFAB>* a_flux);
52 ///
53 void printMaxMinEBCF(EBCellFAB* a_data);
54 
55 ///
57 
58 ///
60 
61 ///
62 void
64 
65 void
67 
68 void
70 
71 ///
73 
74 ///
76 
77 ///
78 void printPointEBFF(EBFluxFAB* a_dat);
79 
80 ///
82 
83 ///
84 void
85 dumpLDEBCF(const LevelData<EBCellFAB>* ldptr);
86 
87 ///
88 void
90 
91 ///
92 void
93 getMaxEBFAB(const EBCellFAB* ldptr);
94 
95 
96 /**
97  Dump inputs to standard out. For use inside debuggers.
98 */
99 void dumpVVoF(const Vector<VolIndex>* a_vectPtr);
100 
101 ///
102 /**
103  Dump inputs to standard out. For use inside debuggers.
104 */
105 void dumpVFace(const Vector<FaceIndex>* a_vectPtr);
106 
107 ///
108 /**
109  Dump inputs to standard out. For use inside debuggers.
110 */
111 void dumpFace(const FaceIndex* a_vectPtr);
112 
113 ///
114 /**
115  Dump inputs to standard out. For use inside debuggers.
116 */
117 void dumpFaceSten(const FaceStencil* a_stenPtr);
118 
119 ///
120 /**
121  Dump inputs to standard out. For use inside debuggers.
122 */
123 void dumpVoFSten(const VoFStencil* a_stenPtr);
124 
125 ///
126 /**
127  Dump inputs to standard out. For use inside debuggers.
128 */
129 void dumpIFFAB(const BaseIFFAB<Real>* a_stenPtr);
130 
131 ///
132 /**
133  Dump inputs to standard out. For use inside debuggers.
134 */
135 void dumpIVFAB(const BaseIVFAB<Real>* a_stenPtr);
136 
137 ///
138 /**
139  Dump inputs to standard out. For use inside debuggers.
140 */
141 void dumpIVFAB(const MiniIVFAB<Real>* a_stenPtr);
142 
143 
144 ///
145 /**
146  Dump inputs to standard out. For use inside debuggers.
147 */
148 void dumpLDBIVF(const LayoutData< BaseIVFAB<Real> >* a_stenPtr);
149 
150 ///
151 /**
152  */
153 void dumpEBLDDBL(const LevelData<EBCellFAB>* a_stenPtr);
154 
155 ///
156 /**
157  */
158 void dumpEBAMRThresh(const Vector<LevelData<EBCellFAB>*>* a_stenPtr, Real a_minDump);
159 
160 ///
161 /**
162  */
163 void dumpEBAMRIrregThresh(const Vector<LevelData<EBCellFAB>*>* a_stenPtr, Real a_minDump);
164 
165 
166 ///
167 /**
168  */
169 void dumpEBAMR(const Vector<LevelData<EBCellFAB>*>* a_stenPtr);
170 
171 ///
172 /**
173  */
174 void dumpEBAMRIrreg(const Vector<LevelData<EBCellFAB>*>* a_stenPtr);
175 
176 ///
177 /**
178  dumps the fab to std out.
179 */
180 void dumpEBFAB(const EBCellFAB* a_fab);
181 
182 ///
183 /**
184  dumps the fab to std out.
185 */
186 void dumpEBFaceIVS(const EBFaceFAB* a_fab, const IntVectSet& a_ivs, Real a_thresh);
187 
188 ///
189 void dumpEBFaceThresh(const EBFaceFAB* a_fab, Real a_thresh);
190 
191 ///
192 void dumpEBFace(const EBFaceFAB* a_fab);
193 
194 ///
195 void dumpEBFlux(const EBFluxFAB* a_fab);
196 
197 ///
198 void dumpEBFluxThresh(const EBFluxFAB* a_fab, Real a_thresh);
199 
200 ///
201 void dumpEBLevelFlux(const LevelData<EBFluxFAB>* a_fab);
202 
203 ///
204 void dumpEBLevelFluxThresh(const LevelData<EBFluxFAB>* a_fab, Real a_thresh);
205 
206 ///
207 /**
208  dumps the irreg bits of the fab to std out.
209 */
210 void dumpEBFABIrreg(const EBCellFAB* a_fab);
211 
212 ///
213 /**
214  dumps the geometry data of the irreg bits of the fab to std out.
215 */
216 void dumpEBFABIrregGeometry(const EBCellFAB* a_fab);
217 
218 ///
219 /**
220  dumps the irreg bits of the level to std out.
221 */
222 void dumpEBLevelIrreg(const LevelData<EBCellFAB>* a_fab);
223 
224 
225 ///
226 /**
227  dumps the irreg bits of the level to std out.
228 */
229 void dumpEBLevelIrregThresh(const LevelData<EBCellFAB>* a_fab, Real a_thresh);
230 
231 ///
232 /**
233 */
234 void dumpEBFABIVS(const EBCellFAB* a_fab, const IntVectSet* a_ivs, Real a_thresh = 0);
235 
236 ///
237 /**
238 */
239 void dumpEBLevel(const LevelData<EBCellFAB>* a_level);
240 
241 ///same as above with ghost cells too
242 void dumpEBLevelAll(const LevelData<EBCellFAB>* a_level);
243 
244 
245 ///
246 /**
247 */
248 void dumpEBLevelThresh(const LevelData<EBCellFAB>* a_level, Real a_thresh);
249 
250 //}
251 
252 #include "NamespaceFooter.H"
253 #endif
void printMaxMinEBFlux(EBFluxFAB *a_data)
Definition: Stencils.H:194
void dumpEBLevelGhost(const LevelData< EBCellFAB > *a_level)
void printPointEBFF(EBFluxFAB *a_dat)
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
void printPointLDFlux(LevelData< EBFluxFAB > *a_dat)
void checkLDFlux(const LevelData< EBFluxFAB > *a_flux)
void dumpEBLevelFluxThresh(const LevelData< EBFluxFAB > *a_fab, Real a_thresh)
Definition: EBDebugOut.H:32
void printMaxMinLDCell(LevelData< EBCellFAB > *a_data)
Definition: FaceIndex.H:28
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: BoxLayout.H:26
void dumpEBLevelAll(const LevelData< EBCellFAB > *a_level)
same as above with ghost cells too
void dumpLDBIVF(const LayoutData< BaseIVFAB< Real > > *a_stenPtr)
void printLocalEBCF(EBCellFAB *a_dat)
void dumpEBFluxThresh(const EBFluxFAB *a_fab, Real a_thresh)
Definition: EBFaceFAB.H:28
void dumpEBFlux(const EBFluxFAB *a_fab)
void printPointLDCell(LevelData< EBCellFAB > *a_dat)
void dumpLDEBCF(const LevelData< EBCellFAB > *ldptr)
VoF-centered stencil.
Definition: Stencils.H:60
void dumpEBAMR(const Vector< LevelData< EBCellFAB > *> *a_stenPtr)
static IntVect s_ivd
Definition: EBDebugOut.H:35
void dumpEBFABIrregGeometry(const EBCellFAB *a_fab)
void dumpEBLevel(const LevelData< EBCellFAB > *a_level)
A EBFaceFAB-like container for edge-centered fluxes.
Definition: EBFluxFAB.H:25
void dumpFace(const FaceIndex *a_vectPtr)
void printMaxMinEBFace(EBFaceFAB *a_data)
void dumpFaceSten(const FaceStencil *a_stenPtr)
void dumpEBAMRIrregThresh(const Vector< LevelData< EBCellFAB > *> *a_stenPtr, Real a_minDump)
Definition: EBCellFAB.H:29
void dumpEBAMRIrreg(const Vector< LevelData< EBCellFAB > *> *a_stenPtr)
void dumpVoFSten(const VoFStencil *a_stenPtr)
double Real
Definition: REAL.H:33
void dumpEBFAB(const EBCellFAB *a_fab)
void dumpVVoF(const Vector< VolIndex > *a_vectPtr)
void dumpIVFAB(const BaseIVFAB< Real > *a_stenPtr)
void dumpEBFABIVS(const EBCellFAB *a_fab, const IntVectSet *a_ivs, Real a_thresh=0)
void dumpEBLevelThresh(const LevelData< EBCellFAB > *a_level, Real a_thresh)
void dumpEBLDDBL(const LevelData< EBCellFAB > *a_stenPtr)
void dumpVFace(const Vector< FaceIndex > *a_vectPtr)
void getMaxEBFAB(const EBCellFAB *ldptr)
void dumpIFFAB(const BaseIFFAB< Real > *a_stenPtr)
Definition: BaseIFFAB.H:34
void printPointEBCF(EBCellFAB *a_dat)
void dumpEBFaceIVS(const EBFaceFAB *a_fab, const IntVectSet &a_ivs, Real a_thresh)
void printMaxMinEBCF(EBCellFAB *a_data)
void dumpEBFaceThresh(const EBFaceFAB *a_fab, Real a_thresh)
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
void dumpEBFace(const EBFaceFAB *a_fab)
void printMaxMinLDFlux(LevelData< EBFluxFAB > *a_data)
void getMaxEBLevel(const LevelData< EBCellFAB > *ldptr)
void dumpEBLevelFlux(const LevelData< EBFluxFAB > *a_fab)
void printPointEBFace(EBFaceFAB *a_dat)
void printLocalLDCell(LevelData< EBCellFAB > *a_dat)
void dumpEBLevelIrreg(const LevelData< EBCellFAB > *a_fab)
void dumpEBAMRThresh(const Vector< LevelData< EBCellFAB > *> *a_stenPtr, Real a_minDump)
void dumpEBFABIrreg(const EBCellFAB *a_fab)
void checkLDCell(const LevelData< EBCellFAB > *a_flux)
void dumpEBLevelIrregThresh(const LevelData< EBCellFAB > *a_fab, Real a_thresh)