Two-fluid index space.
More...
#include <CD_MultiFluidIndexSpace.H>
|
| MultiFluidIndexSpace () |
| Weak constructor. Must call define later.
|
|
virtual | ~MultiFluidIndexSpace () |
| Destructor.
|
|
virtual void | define (const Box &a_domain, const RealVect &a_origin, const Real &a_dx, const Vector< GeometryService * > &a_geoservers, const bool a_distributedData, int a_nCellMax=-1, int a_maxCoarsenings=-1, bool a_fixOnlyFirstPhaseRegNextToMultiValued=false) |
| Define function. More...
|
|
const RefCountedPtr< EBIndexSpace > & | getEBIndexSpace (const phase::which_phase a_phase) const |
| Get a particular EBIndexSpace. More...
|
|
const RefCountedPtr< EBIndexSpace > & | getEBIndexSpace (const int a_phase) const |
| Get a particular ebis. More...
|
|
RefCountedPtr< EBIndexSpace > & | getEBIndexSpace (const phase::which_phase a_phase) |
| Get a particular ebis. More...
|
|
RefCountedPtr< EBIndexSpace > & | getEBIndexSpace (const int a_phase) |
| Get ebis. More...
|
|
IntVectSet | interfaceRegion (const ProblemDomain &a_domain) const |
| Get the interface region. This is defined as the intersection between the irregular cells of the gas phase and the other phases. More...
|
|
int | numPhases () const |
| Get number of phases.
|
|
Two-fluid index space.
This is basically a wrapper for using two Chombo EBIndexSpaces in the simulation. It calls Chombo for building the EBIS'.
◆ define()
void MultiFluidIndexSpace::define |
( |
const Box & |
a_domain, |
|
|
const RealVect & |
a_origin, |
|
|
const Real & |
a_dx, |
|
|
const Vector< GeometryService * > & |
a_geoservers, |
|
|
const bool |
a_distributedData, |
|
|
int |
a_nCellMax = -1 , |
|
|
int |
a_maxCoarsenings = -1 , |
|
|
bool |
a_fixOnlyFirstPhaseRegNextToMultiValued = false |
|
) |
| |
|
virtual |
Define function.
- Parameters
-
[in] | a_domain | Finest domain |
[in] | a_origin | Lower-left corner |
[in] | a_dx | Finest resolution |
[in] | a_geoservers | Generators for cut-cells |
[in] | a_distributedData | Special flag for Chombo (passing grid generation to the geometryservice) |
[in] | a_nCellMax | Minimum number of cells in the coarsening |
[in] | a_maxCoarsenings | Maximum number of coarsenings. |
[in] | a_fixOnlyFirstPhaseRegNextToMultiValued | Special flag for Chombo. |
◆ getEBIndexSpace() [1/4]
RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace |
( |
const int |
a_phase | ) |
|
◆ getEBIndexSpace() [2/4]
const RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace |
( |
const int |
a_phase | ) |
const |
Get a particular ebis.
- Parameters
-
◆ getEBIndexSpace() [3/4]
RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace |
( |
const phase::which_phase |
a_phase | ) |
|
Get a particular ebis.
- Parameters
-
◆ getEBIndexSpace() [4/4]
const RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace |
( |
const phase::which_phase |
a_phase | ) |
const |
Get a particular EBIndexSpace.
- Parameters
-
◆ interfaceRegion()
IntVectSet MultiFluidIndexSpace::interfaceRegion |
( |
const ProblemDomain & |
a_domain | ) |
const |
Get the interface region. This is defined as the intersection between the irregular cells of the gas phase and the other phases.
- Parameters
-
The documentation for this class was generated from the following files: