Class for computing a non-conservative by smooshing a conservative divergence.
More...
|
|
| EBNonConservativeDivergence () noexcept |
| | Default constructor. Must call the define function afterwards.
|
|
| EBNonConservativeDivergence (const EBNonConservativeDivergence &a_other)=delete |
| | Copy constructor. Not allowed.
|
| | EBNonConservativeDivergence (const EBLevelGrid &a_eblg, const int a_radius) noexcept |
| | Defining constructor. This calls the define function.
|
|
virtual | ~EBNonConservativeDivergence () noexcept |
| | Destructor. Does nothing.
|
| virtual void | define (const EBLevelGrid &a_eblg, const int a_radius) noexcept |
| | Define function. Puts object in usable state.
|
| virtual void | nonConservativeDivergence (LevelData< BaseIVFAB< Real > > &a_nonConsDivF, const LevelData< EBCellFAB > &a_kappaDivF) const noexcept |
| | Function for computing the non-conservative divergence.
|
Class for computing a non-conservative by smooshing a conservative divergence.
This class will compute a stencil s(phi) = sum(kappa * phi)/sum(kappa) where the stencil points consist of cells that can be reached through a monotone path.
This is a per-level class without AMR functionality. On coarse-fine interfaces the user is responsible for filling the ghost cells and redistributing the mass correctly (see EBMassRedistribution)
The code has only been verified and validated for a stencil radius of 1, which is what chombo-discharge uses. Larger radii are accepted but untested.