chombo-discharge
|
Class for holding VoFStencils on irregular cells over an entire AMR hierarchy. The template parameter must inherit from IrregStencil. The stencil can only be applied to EBCellFABs. More...
#include <CD_IrregAmrStencil.H>
Public Member Functions | |
IrregAmrStencil () | |
Empty constructor. You must subsequently call define. | |
IrregAmrStencil (const Vector< DisjointBoxLayout > &a_grids, const Vector< EBISLayout > &a_ebisl, const Vector< ProblemDomain > &a_domains, const Vector< Real > &a_dx, const int a_finestLevel, const int a_order, const int a_radius, const IrregStencil::StencilType a_type) | |
Full constructor. Subsequently calls define. More... | |
virtual | ~IrregAmrStencil () |
Destructor. | |
const IrregStencil & | operator[] (const int &a_lvl) const |
Get the stencils over an AMR level. More... | |
IrregStencil & | operator[] (const int &a_lvl) |
Get the stencils over an AMR level. More... | |
virtual void | define (const Vector< DisjointBoxLayout > &a_grids, const Vector< EBISLayout > &a_ebisl, const Vector< ProblemDomain > &a_domains, const Vector< Real > &a_dx, const int a_finestLevel, const int a_order, const int a_radius, const IrregStencil::StencilType a_type) |
Define function. More... | |
virtual void | apply (LevelData< EBCellFAB > &a_dst, const LevelData< EBCellFAB > &a_src, const int a_lvl) const |
Apply the stencils to an existing data holder. More... | |
virtual void | apply (LevelData< EBCellFAB > &a_data, const int a_lvl) const |
Apply stencils to data holder. This replaces original data. More... | |
virtual void | apply (LevelData< BaseIVFAB< Real >> &a_dst, const LevelData< EBCellFAB > &a_src, const int a_lvl) const |
Apply the stencils to an existing data holder. More... | |
virtual void | apply (EBAMRCellData &a_dst, const EBAMRCellData &a_src) const |
Apply the stencils to an existing data holder. More... | |
virtual void | apply (EBAMRCellData &a_dst) const |
Apply the stencils to an existing data holder. This replaces original data. More... | |
virtual void | apply (EBAMRIVData &a_dst, const EBAMRCellData &a_src) const |
Apply the stencils to an existing data holder. More... | |
virtual void | apply (Vector< EBAMRCellData * > &a_data) const |
Apply stencils to an existing data holders. This replaces original data. More... | |
virtual void | apply (Vector< EBAMRCellData * > &a_dst, const Vector< EBAMRCellData * > &a_src) const |
Apply stencils to existing data holders. More... | |
virtual void | apply (Vector< EBAMRIVData * > &a_dst, const Vector< EBAMRCellData * > &a_src) const |
Apply stencils to existing data holders. More... | |
Protected Attributes | |
Vector< DisjointBoxLayout > | m_grids |
AMR grids. | |
Vector< EBISLayout > | m_ebisl |
EBIS layouts. | |
Vector< ProblemDomain > | m_domains |
Problem domains. | |
Vector< Real > | m_dx |
Resolutions. | |
Vector< RefCountedPtr< IrregStencil > > | m_stencils |
Stencils. | |
bool | m_isDefined |
Stencils defined or not. | |
int | m_order |
Order. | |
int | m_radius |
Radius. | |
int | m_finestLevel |
Finest level. | |
IrregStencil::StencilType | m_stencilType |
Stencil type. | |
Class for holding VoFStencils on irregular cells over an entire AMR hierarchy. The template parameter must inherit from IrregStencil. The stencil can only be applied to EBCellFABs.
This class is simply an AMR wrapper for IrregStencil, which represents the cut-cell stencils on a single AMR level.
IrregAmrStencil< IrregSten >::IrregAmrStencil | ( | const Vector< DisjointBoxLayout > & | a_grids, |
const Vector< EBISLayout > & | a_ebisl, | ||
const Vector< ProblemDomain > & | a_domains, | ||
const Vector< Real > & | a_dx, | ||
const int | a_finestLevel, | ||
const int | a_order, | ||
const int | a_radius, | ||
const IrregStencil::StencilType | a_type | ||
) |
Full constructor. Subsequently calls define.
[in] | a_grids | AMR grids |
[in] | a_ebisl | EBIS layouts on each level |
[in] | a_domains | Domains on each level |
[in] | a_dx | Resolutions on each level |
[in] | a_finestLevel | Finest AMR level |
[in] | a_order | Stencil order |
[in] | a_radius | Stencil radius |
[in] | a_type | Stencil type |
|
virtual |
Apply the stencils to an existing data holder. This replaces original data.
[in,out] | a_dst | Data |
|
virtual |
Apply the stencils to an existing data holder.
This routine will perform a copy of all regular cells, and apply stencils to irregular cells only.
[out] | a_dst | Destination data. |
[in] | a_src | Source data |
|
virtual |
Apply the stencils to an existing data holder.
[out] | a_dst | Destination data. |
[in] | a_src | Source data |
|
virtual |
Apply the stencils to an existing data holder.
This routine will perform a copy of all regular cells, and apply stencils to irregular cells only.
[out] | a_dst | Destination data. |
[in] | a_src | Source data |
[in] | a_lvl | Level |
|
virtual |
Apply stencils to data holder. This replaces original data.
[in,out] | a_data | Transformed data |
[in] | a_lvl | Level |
|
virtual |
Apply the stencils to an existing data holder.
This routine will perform a copy of all regular cells, and apply stencils to irregular cells only.
[out] | a_dst | Destination data. |
[in] | a_src | Source data |
[in] | a_lvl | Level |
|
virtual |
Apply stencils to an existing data holders. This replaces original data.
[in,out] | a_data |
|
virtual |
Apply stencils to existing data holders.
[out] | a_dst | Destination data holders. |
[in] | a_src | Source data holders |
|
virtual |
Apply stencils to existing data holders.
[out] | a_dst | Destination data holders. |
[in] | a_src | Source data holders |
|
virtual |
Define function.
[in] | a_grids | AMR grids |
[in] | a_ebisl | EBIS layouts on each level |
[in] | a_domains | Domains on each level |
[in] | a_dx | Resolutions on each level |
[in] | a_finestLevel | Finest AMR level |
[in] | a_order | Stencil order |
[in] | a_radius | Stencil radius |
[in] | a_type | Stencil type |
IrregStencil & IrregAmrStencil< IrregSten >::operator[] | ( | const int & | a_lvl | ) |
Get the stencils over an AMR level.
[in] | a_lvl | AMR level |
const IrregStencil & IrregAmrStencil< IrregSten >::operator[] | ( | const int & | a_lvl | ) | const |
Get the stencils over an AMR level.
[in] | a_lvl | AMR level |