Chombo + EB
3.0
|
#include <EBNormalizeByVolumeFraction.H>
Public Member Functions | |
EBNormalizeByVolumeFraction (const EBLevelGrid &a_levelGrid) | |
~EBNormalizeByVolumeFraction () | |
void | operator() (LevelData< EBCellFAB > &a_Q, const Interval &a_compInterval) const |
void | operator() (LevelData< EBCellFAB > &a_Q) const |
Protected Member Functions | |
EBNormalizeByVolumeFraction () | |
EBNormalizeByVolumeFraction (const EBNormalizeByVolumeFraction &) | |
EBNormalizeByVolumeFraction & | operator= (const EBNormalizeByVolumeFraction &) |
Private Attributes | |
const EBLevelGrid & | m_levelGrid |
This class represents an operation that takes a volume-fraction-weighted quantity kappa*Q (where kappa is the volume fraction) and computes Q from it by normalizing it w.r.t. the volume fractions of cells within a monotone path radius. The radius may either be specified explicitly or computed from a given EBLevelGrid.
|
explicit |
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. |
EBNormalizeByVolumeFraction::~EBNormalizeByVolumeFraction | ( | ) |
Destructor.
|
protected |
|
protected |
void EBNormalizeByVolumeFraction::operator() | ( | LevelData< EBCellFAB > & | a_Q, |
const Interval & | a_compInterval | ||
) | const |
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. |
|
protected |
|
private |
The associated level grid.