Wrapper class for holding multifluid EBLevelGrids.
More...
#include <CD_MFLevelGrid.H>
Wrapper class for holding multifluid EBLevelGrids.
◆ MFLevelGrid() [1/2]
MFLevelGrid::MFLevelGrid |
( |
const DisjointBoxLayout & |
a_dbl, |
|
|
const ProblemDomain & |
a_domain, |
|
|
const int |
a_ebghost, |
|
|
const RefCountedPtr< MultiFluidIndexSpace > & |
a_mfis |
|
) |
| |
Full constructor.
- Parameters
-
[in] | a_dbl | Grids |
[in] | a_domain | Domains |
[in] | a_ebghost | Number of eb ghosts to fill |
[in] | a_mfis | Multifluid index space |
◆ MFLevelGrid() [2/2]
MFLevelGrid::MFLevelGrid |
( |
const RefCountedPtr< MultiFluidIndexSpace > & |
a_multiFluidIndexSpace, |
|
|
const Vector< EBLevelGrid > & |
a_eblgs |
|
) |
| |
Alternative full constructor - RefCounted storage so no allocation here.
- Parameters
-
[in] | a_mfis | Multifluid index space |
[in] | a_eblgs | Levelgrids on each phase. |
◆ define()
void MFLevelGrid::define |
( |
const RefCountedPtr< MultiFluidIndexSpace > & |
a_multiFluidIndexSpace, |
|
|
const Vector< EBLevelGrid > & |
a_eblgs |
|
) |
| |
|
virtual |
Define function.
- Parameters
-
[in] | a_mfis | Multifluid index space |
[in] | a_eblgs | Levelgrids on each phase. |
◆ getEBLevelGrid() [1/2]
EBLevelGrid & MFLevelGrid::getEBLevelGrid |
( |
int |
a_phase | ) |
|
|
virtual |
Get grids on specified phase.
- Parameters
-
◆ getEBLevelGrid() [2/2]
const EBLevelGrid & MFLevelGrid::getEBLevelGrid |
( |
int |
a_phase | ) |
const |
|
virtual |
Get grids on specified phase.
- Parameters
-
◆ interfaceRegion()
IntVectSet MFLevelGrid::interfaceRegion |
( |
const Box & |
a_box, |
|
|
const DataIndex & |
a_dit, |
|
|
const int |
a_phase1 = 0 , |
|
|
const int |
a_phase2 = 1 |
|
) |
| const |
|
virtual |
Get interface region between two phases.
- Parameters
-
[in] | a_box | Input box |
[in] | a_dit | Grid index |
[in] | a_phase1 | First phase |
[in] | a_phase2 | Second phase |
- Returns
- Returns the cells that are irregular on both phases.
◆ setMaxRefinementRatio()
void MFLevelGrid::setMaxRefinementRatio |
( |
const int |
a_refRat | ) |
|
|
virtual |
Set max refinement ratio.
- Parameters
-
[in] | a_refRat | Max refinement ratio. |
The documentation for this class was generated from the following files: