Chombo + EB  3.2
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
EBNormalizeByVolumeFraction Class Reference

#include <EBNormalizeByVolumeFraction.H>

Public Member Functions

 EBNormalizeByVolumeFraction (const EBLevelGrid &a_levelGrid)
 
 ~EBNormalizeByVolumeFraction ()
 
void operator() (LevelData< EBCellFAB > &a_Q, const Interval &a_compInterval, const int &a_radius=1) const
 
void operator() (LevelData< EBCellFAB > &a_Q, const int &a_radius=1) const
 

Protected Member Functions

 EBNormalizeByVolumeFraction ()
 
 EBNormalizeByVolumeFraction (const EBNormalizeByVolumeFraction &)
 
EBNormalizeByVolumeFractionoperator= (const EBNormalizeByVolumeFraction &)
 

Private Attributes

const EBLevelGridm_levelGrid
 

Detailed Description

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.

Constructor & Destructor Documentation

EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction ( const EBLevelGrid a_levelGrid)
explicit

Construct an EBNormalizeByVolumeFraction object associated with the associated with the given EBLevelGrid.

Parameters
EBLevelGridThe level grid for which data can be normalized by the resulting object.
EBNormalizeByVolumeFraction::~EBNormalizeByVolumeFraction ( )

Destructor.

EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction ( )
protected
EBNormalizeByVolumeFraction::EBNormalizeByVolumeFraction ( const EBNormalizeByVolumeFraction )
protected

Member Function Documentation

void EBNormalizeByVolumeFraction::operator() ( LevelData< EBCellFAB > &  a_Q,
const Interval a_compInterval,
const int &  a_radius = 1 
) 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.

Parameters
a_QA volume-fraction-weighted quantity to be normalized.
a_compIntervalAn interval representing the range of components to be normalized by this operation.
void EBNormalizeByVolumeFraction::operator() ( LevelData< EBCellFAB > &  a_Q,
const int &  a_radius = 1 
) 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. This version of the correction normalizes all components of a_Q.

Parameters
a_QA volume-fraction-weighted quantity to be normalized.
EBNormalizeByVolumeFraction& EBNormalizeByVolumeFraction::operator= ( const EBNormalizeByVolumeFraction )
protected

Member Data Documentation

const EBLevelGrid& EBNormalizeByVolumeFraction::m_levelGrid
private

The associated level grid.


The documentation for this class was generated from the following file: