#include <EBNormalizeByVolumeFraction.H>
Public Member Functions | |
| EBNormalizeByVolumeFraction (const EBLevelGrid &a_eblg, const LevelData< EBCellFAB > *a_data=NULL, const int a_radius=1) | |
| void | define (const LevelData< EBCellFAB > &a_data) |
| define all the ste3ncils | |
| ~EBNormalizeByVolumeFraction () | |
| void | operator() (LevelData< EBCellFAB > &a_Q, const Interval &a_compInterval) |
| void | operator() (LevelData< EBCellFAB > &a_Q) |
| void | normalize (LevelData< EBCellFAB > &a_Q, const Interval &a_compInterval) |
| void | normalize (LevelData< EBCellFAB > &a_Q) |
Protected Member Functions | |
| void | getLocalStencil (VoFStencil &a_stencil, const VolIndex &a_vof, const DataIndex &a_dit) |
| EBNormalizeByVolumeFraction () | |
| EBNormalizeByVolumeFraction (const EBNormalizeByVolumeFraction &) | |
| EBNormalizeByVolumeFraction & | operator= (const EBNormalizeByVolumeFraction &) |
Private Attributes | |
| bool | m_isDefined |
| int | m_radius |
| LayoutData< RefCountedPtr < AggStencil< EBCellFAB, EBCellFAB > > > | m_stencil |
| EBLevelGrid | m_eblg |
| EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction | ( | const EBLevelGrid & | a_eblg, | |
| const LevelData< EBCellFAB > * | a_data = NULL, |
|||
| const int | a_radius = 1 | |||
| ) | [inline] |
Construct an EBNormalizeByVolumeFraction object associated with the associated with the given EBLevelGrid.
| EBLevelGrid | The level grid for which data can be normalized by the resulting object. wacky interface is for backward compatibility if data is null, define is not called. |
References CH_assert, define(), m_eblg, m_isDefined, and m_radius.
| EBNormalizeByVolumeFraction::~EBNormalizeByVolumeFraction | ( | ) | [inline] |
Destructor.
| EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction | ( | ) | [protected] |
| EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction | ( | const EBNormalizeByVolumeFraction & | ) | [protected] |
| void EBNormalizeByVolumeFraction::operator() | ( | LevelData< EBCellFAB > & | a_Q, | |
| const Interval & | a_compInterval | |||
| ) |
Compute the normalized quantity corresponding to the given volume-fraction-weighted quantity by volume-averaging that quantity over every monotone path radius for each cell in the level.
| a_Q | A volume-fraction-weighted quantity to be normalized. | |
| a_compInterval | An interval representing the range of components to be normalized by this operation. |
Compute the normalized quantity corresponding to the given volume-fraction-weighted quantity by volume-averaging that quantity over every monotone path radius for each cell in the level. This version of the correction normalizes all components of a_Q.
| a_Q | A volume-fraction-weighted quantity to be normalized. |
| void EBNormalizeByVolumeFraction::normalize | ( | LevelData< EBCellFAB > & | a_Q, | |
| const Interval & | a_compInterval | |||
| ) | [inline] |
| void EBNormalizeByVolumeFraction::getLocalStencil | ( | VoFStencil & | a_stencil, | |
| const VolIndex & | a_vof, | |||
| const DataIndex & | a_dit | |||
| ) | [protected] |
| EBNormalizeByVolumeFraction& EBNormalizeByVolumeFraction::operator= | ( | const EBNormalizeByVolumeFraction & | ) | [protected] |
bool EBNormalizeByVolumeFraction::m_isDefined [private] |
Referenced by EBNormalizeByVolumeFraction().
int EBNormalizeByVolumeFraction::m_radius [private] |
Referenced by EBNormalizeByVolumeFraction().
LayoutData<RefCountedPtr<AggStencil<EBCellFAB, EBCellFAB> > > EBNormalizeByVolumeFraction::m_stencil [private] |
Referenced by EBNormalizeByVolumeFraction().
1.5.5