|
chombo-discharge
|
Two-fluid index space. More...
#include <CD_MultiFluidIndexSpace.H>
Protected Attributes | |
| Vector< RefCountedPtr< EBIndexSpace > > | m_ebis |
| EBIndexSpaces. | |
| RefCountedPtr< MFIndexSpace > | m_multifluidIndexSpace |
| MFIndexSpace. | |
Two-fluid index space.
This is basically a wrapper for using two Chombo EBIndexSpaces in the simulation. It calls Chombo for building the EBIS'.
|
virtual |
Define function.
| [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_max_coar | Maximum number of coarsenings. |
| [in] | a_fixOnlyFirstPhaseRegNextToMultiValued | Special flag for Chombo. |
| RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace | ( | const int | a_phase | ) |
Get EBIndexSpace.
| [in] | a_phase | Phase |
| const RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace | ( | const int | a_phase | ) | const |
Get a particular EBIndexSpace.
| [in] | a_phase | Phase |
| RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace | ( | const phase::which_phase | a_phase | ) |
Get a particular EBIndexSpace.
| [in] | a_phase | Phase |
| const RefCountedPtr< EBIndexSpace > & MultiFluidIndexSpace::getEBIndexSpace | ( | const phase::which_phase | a_phase | ) | const |
Get a particular EBIndexSpace.
| [in] | a_phase | Phase |
| 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.
| [in] | a_domain | Domain |
| int MultiFluidIndexSpace::numPhases | ( | ) | const |
Get number of phases.