00001 #ifdef CH_LANG_CC
00002
00003
00004
00005
00006
00007
00008
00009 #endif
00010
00011 #ifndef _EBDEBUGOUT_H_
00012 #define _EBDEBUGOUT_H_
00013
00014
00015 #include "DisjointBoxLayout.H"
00016 #include "BoxLayout.H"
00017 #include "BaseIFFAB.H"
00018 #include "BaseIVFAB.H"
00019 #include "FaceIterator.H"
00020 #include "Vector.H"
00021 #include "Box.H"
00022 #include "IntVectSet.H"
00023 #include "FArrayBox.H"
00024 #include "LevelData.H"
00025 #include "LayoutIterator.H"
00026 #include "BoxIterator.H"
00027 #include "VolIndex.H"
00028 #include "Stencils.H"
00029 #include "NamespaceHeader.H"
00030
00031 class EBDebugPoint
00032 {
00033 public:
00034 static IntVect s_ivd;
00035 };
00036
00037 class EBCellFAB;
00038 class EBFluxFAB;
00039
00040
00041
00042
00043 void printMaxMinEBFF(EBFluxFAB* a_data);
00044
00045
00046 void printMaxMinEBCF(EBCellFAB* a_data);
00047
00048
00049 void printMaxMinLDCell(LevelData<EBCellFAB>* a_data);
00050
00051
00052 void printMaxMinLDFlux(LevelData<EBFluxFAB>* a_data);
00053
00054
00055 void
00056 printPointEBCF(EBCellFAB* a_dat);
00057
00058 void
00059 printLocalEBCF(EBCellFAB* a_dat);
00060
00061 void
00062 printPointEBFace(EBFaceFAB* a_dat);
00063
00064
00065 void printPointLDCell(LevelData<EBCellFAB>* a_dat);
00066
00067
00068 void printLocalLDCell(LevelData<EBCellFAB>* a_dat);
00069
00070
00071 void printPointEBFF(EBFluxFAB* a_dat);
00072
00073
00074 void printPointLDFlux(LevelData<EBFluxFAB>* a_dat);
00075
00076
00077 void
00078 dumpLDEBCF(const LevelData<EBCellFAB>* ldptr);
00079
00080
00081 void
00082 getMaxEBLevel(const LevelData<EBCellFAB>* ldptr);
00083
00084
00085 void
00086 getMaxEBFAB(const EBCellFAB* ldptr);
00087
00088
00089
00090
00091
00092 void dumpVVoF(const Vector<VolIndex>* a_vectPtr);
00093
00094
00095
00096
00097
00098 void dumpVFace(const Vector<FaceIndex>* a_vectPtr);
00099
00100
00101
00102
00103
00104 void dumpFace(const FaceIndex* a_vectPtr);
00105
00106
00107
00108
00109
00110 void dumpFaceSten(const FaceStencil* a_stenPtr);
00111
00112
00113
00114
00115
00116 void dumpVoFSten(const VoFStencil* a_stenPtr);
00117
00118
00119
00120
00121
00122 void dumpIFFAB(const BaseIFFAB<Real>* a_stenPtr);
00123
00124
00125
00126
00127
00128 void dumpIVFAB(const BaseIVFAB<Real>* a_stenPtr);
00129
00130
00131
00132
00133
00134
00135 void dumpLDBIVF(const LayoutData< BaseIVFAB<Real> >* a_stenPtr);
00136
00137
00138
00139
00140 void dumpEBLDDBL(const LevelData<EBCellFAB>* a_stenPtr);
00141
00142
00143
00144
00145 void dumpEBAMRThresh(const Vector<LevelData<EBCellFAB>*>* a_stenPtr, Real a_minDump);
00146
00147
00148
00149
00150 void dumpEBAMRIrregThresh(const Vector<LevelData<EBCellFAB>*>* a_stenPtr, Real a_minDump);
00151
00152
00153
00154
00155
00156 void dumpEBAMR(const Vector<LevelData<EBCellFAB>*>* a_stenPtr);
00157
00158
00159
00160
00161 void dumpEBAMRIrreg(const Vector<LevelData<EBCellFAB>*>* a_stenPtr);
00162
00163
00164
00165
00166
00167 void dumpEBFAB(const EBCellFAB* a_fab);
00168
00169
00170
00171
00172
00173 void dumpEBFaceIVS(const EBFaceFAB* a_fab, const IntVectSet& a_ivs, Real a_thresh);
00174
00175
00176 void dumpEBFaceThresh(const EBFaceFAB* a_fab, Real a_thresh);
00177
00178
00179 void dumpEBFace(const EBFaceFAB* a_fab);
00180
00181
00182 void dumpEBFlux(const EBFluxFAB* a_fab);
00183
00184
00185 void dumpEBFluxThresh(const EBFluxFAB* a_fab, Real a_thresh);
00186
00187
00188 void dumpEBLevelFlux(const LevelData<EBFluxFAB>* a_fab);
00189
00190
00191 void dumpEBLevelFluxThresh(const LevelData<EBFluxFAB>* a_fab, Real a_thresh);
00192
00193
00194
00195
00196
00197 void dumpEBFABIrreg(const EBCellFAB* a_fab);
00198
00199
00200
00201
00202
00203 void dumpEBFABIrregGeometry(const EBCellFAB* a_fab);
00204
00205
00206
00207
00208
00209 void dumpEBLevelIrreg(const LevelData<EBCellFAB>* a_fab);
00210
00211
00212
00213
00214
00215
00216 void dumpEBLevelIrregThresh(const LevelData<EBCellFAB>* a_fab, Real a_thresh);
00217
00218
00219
00220
00221 void dumpEBFABIVS(const EBCellFAB* a_fab, const IntVectSet* a_ivs, Real a_thresh = 0);
00222
00223
00224
00225
00226 void dumpEBLevel(const LevelData<EBCellFAB>* a_level);
00227
00228
00229 void dumpEBLevelAll(const LevelData<EBCellFAB>* a_level);
00230
00231
00232
00233
00234
00235 void dumpEBLevelThresh(const LevelData<EBCellFAB>* a_level, Real a_thresh);
00236
00237
00238
00239 #include "NamespaceFooter.H"
00240 #endif