12 #ifndef CD_MultiFluidIndexSpace_H
13 #define CD_MultiFluidIndexSpace_H
16 #include <GeometryService.H>
17 #include <EBIndexSpace.H>
19 #include <MFIndexSpace.H>
22 #include <CD_NamespaceHeader.H>
28 const int numPhases = 2;
66 define(
const Box& a_domain,
67 const RealVect& a_origin,
69 const Vector<GeometryService*>& a_geoservers,
70 const bool a_distributedData,
72 int a_maxCoarsenings = -1,
73 bool a_fixOnlyFirstPhaseRegNextToMultiValued =
false);
79 const RefCountedPtr<EBIndexSpace>&
86 const RefCountedPtr<EBIndexSpace>&
93 RefCountedPtr<EBIndexSpace>&
100 RefCountedPtr<EBIndexSpace>&
121 Vector<RefCountedPtr<EBIndexSpace>>
m_ebis;
129 #include <CD_NamespaceFooter.H>
Two-fluid index space.
Definition: CD_MultiFluidIndexSpace.H:42
MultiFluidIndexSpace()
Weak constructor. Must call define later.
Definition: CD_MultiFluidIndexSpace.cpp:20
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.
Definition: CD_MultiFluidIndexSpace.cpp:32
virtual ~MultiFluidIndexSpace()
Destructor.
Definition: CD_MultiFluidIndexSpace.cpp:28
IntVectSet interfaceRegion(const ProblemDomain &a_domain) const
Get the interface region. This is defined as the intersection between the irregular cells of the gas ...
Definition: CD_MultiFluidIndexSpace.cpp:102
Vector< RefCountedPtr< EBIndexSpace > > m_ebis
EBIndexSpaces.
Definition: CD_MultiFluidIndexSpace.H:121
const RefCountedPtr< EBIndexSpace > & getEBIndexSpace(const phase::which_phase a_phase) const
Get a particular EBIndexSpace.
Definition: CD_MultiFluidIndexSpace.cpp:65
RefCountedPtr< MFIndexSpace > m_multifluidIndexSpace
MFIndexSpace.
Definition: CD_MultiFluidIndexSpace.H:126
int numPhases() const
Get number of phases.
Definition: CD_MultiFluidIndexSpace.cpp:89
phase names
Definition: CD_MultiFluidIndexSpace.H:27