|
Chombo + EB + MF
3.2
|
#include <MFStencil.H>
Classes | |
| struct | agg_t |
| structure to hold multifluid stencils More... | |
| struct | destTerm_t |
| struct | ebstencil_t |
| struct | stencilTerm |
Public Member Functions | |
| ~MFStencil () | |
| MFStencil (const Vector< agg_t > &a_pointSten, const Box &a_gridBox, const Vector< EBISBox > &a_vectEBISBox, const IntVect &a_ghostVectLph, const IntVect &a_ghostVectPhi, int a_varDest) | |
| void | apply (MFCellFAB &a_lofphi, const MFCellFAB &a_phi, bool incrementOnly=false) const |
| void | cache (const MFCellFAB &a_lphi) const |
| void | uncache (MFCellFAB &a_lphi) const |
Protected Member Functions | |
| void | computeOffsets (const Vector< agg_t > &a_stencil) |
Protected Attributes | |
| Box | m_grid |
| EBISBox | m_ebisBox [2] |
| Box | m_lphBox |
| Box | m_phiBox |
| IntVect | m_ghostVectPhi |
| IntVect | m_ghostVectLph |
| int | m_destVar |
| Vector< ebstencil_t > | m_ebstencil |
| Vector< destTerm_t > | m_destTerms |
| Vector< Real > | m_cache |
Private Member Functions | |
| MFStencil () | |
| void | operator= (const MFStencil &stenin) |
| MFStencil (const MFStencil &stenin) | |
Simple stencil aggregation for multifluid problems.
|
inline |
Destructor
References apply(), cache(), computeOffsets(), MFStencil(), and uncache().
| MFStencil::MFStencil | ( | const Vector< agg_t > & | a_pointSten, |
| const Box & | a_gridBox, | ||
| const Vector< EBISBox > & | a_vectEBISBox, | ||
| const IntVect & | a_ghostVectLph, | ||
| const IntVect & | a_ghostVectPhi, | ||
| int | a_varDest | ||
| ) |
pointSten is the stencil at each irregular cell gridBox is the box from the disjointboxlayout vectEBISBox[0] is the ebisbox from fluid 0 vectEBISBox[1] is the ebisbox from fluid 1 ghostVectLph is the ghost cells of the destination fab ghostVectPhi is the ghost cells of the input (phi) fab vardest is the variable location where data will be put lphi[ifluid](vof, vardest) = blah blah
|
inlineprivate |
References MayDay::Error().
Referenced by ~MFStencil().
|
inlineprivate |
References MayDay::Error().
| void MFStencil::apply | ( | MFCellFAB & | a_lofphi, |
| const MFCellFAB & | a_phi, | ||
| bool | incrementOnly = false |
||
| ) | const |
Applies stencil to each component of phi using the stencil weights and offsets to compute L. If incrementOnly = true, a_lofphi is incremented without any set to zero. If false, a_lofphi is set to zero and set equal to L(phi).
Referenced by ~MFStencil().
| void MFStencil::cache | ( | const MFCellFAB & | a_lphi | ) | const |
Cache lphi from inputs into internal storage.
Referenced by ~MFStencil().
| void MFStencil::uncache | ( | MFCellFAB & | a_lphi | ) | const |
uncache lphi from internal storage into the input data holder.
Referenced by ~MFStencil().
Referenced by ~MFStencil().
|
inlineprivate |
References MayDay::Error().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13