11 #ifndef _MAPPEDLEVELDATA_H_ 12 #define _MAPPEDLEVELDATA_H_ 26 #include "NamespaceHeader.H" 92 const int a_numGhostU,
93 const int a_numGhostJU = 1,
94 const bool a_trimUExchanger =
false,
95 const bool a_trimJUExchanger =
true,
96 const bool a_useJUExchangerForU =
true);
109 const int a_numInvalidGhost = 0)
const;
113 const int a_numInvalidGhost = 0);
117 const int a_numInvalidGhost = 0)
const;
121 const int a_numInvalidGhost = 0);
135 void invalidateU(
const bool a_this2FnInterpDataInvalid =
true);
141 void invalidate(
const bool a_this2FnInterpDataInvalid =
true);
346 #include "NamespaceFooter.H"
void invalidate(const bool a_this2FnInterpDataInvalid=true)
Invalidate all ghost data and all of <U>
bool hasCoarser() const
Definition: MappedLevelData.H:341
void copyJUOldToNew()
(assumes different layouts)
int m_indexJUOld
Definition: MappedLevelData.H:220
#define CH_assert(cond)
Definition: CHArray.H:37
bool m_haveValidCrFnU
Definition: MappedLevelData.H:231
void define(LevelGridMetrics *const a_LGMP, LevelData< FArrayBox > *const a_ULevP, LevelData< FArrayBox > *const a_JUNewLevP, LevelData< FArrayBox > *const a_JUOldLevP, const LevelData< FArrayBox > *const a_CrULevP, const int a_numComp, const Interval &a_velocityIntv, const int a_numGhostU, const int a_numGhostJU=1, const bool a_trimUExchanger=false, const bool a_trimJUExchanger=true, const bool a_useJUExchangerForU=true)
bool m_defined
Definition: MappedLevelData.H:233
Solution data on a level for mapped grids.
Definition: MappedLevelData.H:54
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:152
int m_numGhostU
Definition: MappedLevelData.H:217
LevelGridMetrics * m_LGMP
Definition: MappedLevelData.H:183
const LevelData< FArrayBox > & getJU(const int a_numValidGhost=0, const int a_numInvalidGhost=0) const
Copier m_JUExchangeCopier
Definition: MappedLevelData.H:191
bool m_trimJUExchanger
Definition: MappedLevelData.H:228
int m_numComp
Definition: MappedLevelData.H:215
The class MultiBlockLevelExchange stores topological and geometric information.
Definition: MultiBlockLevelExchange.H:29
const Copier & refUExchangeCopier() const
Return the exchange copier for U (before defined)
Definition: MappedLevelData.H:322
const Copier & getUExchangeCopier() const
Return the exchange copier for U.
Definition: MappedLevelData.H:299
const LevelData< FArrayBox > & rawU() const
Return pointer to U data with no computation.
Definition: MappedLevelData.H:249
const Copier & getJUExchangeCopier() const
Return the exchange copier for JU.
Definition: MappedLevelData.H:310
void invalidateU(const bool a_this2FnInterpDataInvalid=true)
Invalidate all of <U>
int m_invalidGhostStatusJU
Definition: MappedLevelData.H:202
void invalidateJUGhosts()
LevelData< FArrayBox > & getJUOld()
Return JUOld (always raw)
Definition: MappedLevelData.H:288
int m_extraBlockStatusU
Definition: MappedLevelData.H:210
Structure for passing component ranges in code.
Definition: Interval.H:23
int m_invalidGhostStatusU
Definition: MappedLevelData.H:198
Grid metrics for a level.
Definition: LevelGridMetrics.H:223
~MappedLevelData()
Destructor.
Copier m_UExchangeCopier
Definition: MappedLevelData.H:190
bool m_useJUExchangerForU
Definition: MappedLevelData.H:229
int m_allocJUNew
Definition: MappedLevelData.H:224
const LevelData< FArrayBox > * m_CrULevP
Definition: MappedLevelData.H:188
const LevelData< FArrayBox > & getU(const int a_numValidGhost=0, const int a_numInvalidGhost=0) const
int m_validCFLayerStatusU
Definition: MappedLevelData.H:207
int m_validStatusU
Definition: MappedLevelData.H:204
LevelData< FArrayBox > * m_ULevP
Definition: MappedLevelData.H:185
bool m_trimUExchanger
Definition: MappedLevelData.H:227
int m_numGhostJU
Definition: MappedLevelData.H:218
const LevelData< FArrayBox > & rawJU() const
Return pointer to JU data with no computation.
Definition: MappedLevelData.H:268
void copyJUNewToOld()
(assumes the same layout)
int m_allocJUOld
Definition: MappedLevelData.H:225
Interval m_velocityIntv
Definition: MappedLevelData.H:193
MappedLevelData & operator=(const MappedLevelData &)
int m_allocU
Definition: MappedLevelData.H:223
LevelData< FArrayBox > * m_JULevP[2]
Definition: MappedLevelData.H:186
int m_indexJUNew
Definition: MappedLevelData.H:221
MappedLevelData()
Default constructor.
int m_validStatusJU
Definition: MappedLevelData.H:205
const Copier & refJUExchangeCopier() const
Return the exchange copier for JU (before defined)
Definition: MappedLevelData.H:333