13#ifndef CD_MULTIFLUIDINDEXSPACE_H
14#define CD_MULTIFLUIDINDEXSPACE_H
17#include <GeometryService.H>
18#include <EBIndexSpace.H>
20#include <MFIndexSpace.H>
23#include <CD_NamespaceHeader.H>
74 define(
const Box& a_domain,
75 const RealVect& a_origin,
77 const Vector<GeometryService*>& a_geoservers,
78 const bool a_distributedData,
81 bool a_fixOnlyFirstPhaseRegNextToMultiValued =
false);
88 const RefCountedPtr<EBIndexSpace>&
96 const RefCountedPtr<EBIndexSpace>&
104 RefCountedPtr<EBIndexSpace>&
112 RefCountedPtr<EBIndexSpace>&
135 Vector<RefCountedPtr<EBIndexSpace>>
m_ebis;
143#include <CD_NamespaceFooter.H>
Two-fluid index space.
Definition CD_MultiFluidIndexSpace.H:50
MultiFluidIndexSpace()
Weak constructor. Must call define later.
Definition CD_MultiFluidIndexSpace.cpp:21
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_max_coar=-1, bool a_fixOnlyFirstPhaseRegNextToMultiValued=false)
Define function.
Definition CD_MultiFluidIndexSpace.cpp:32
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:135
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:140
int numPhases() const
Get number of phases.
Definition CD_MultiFluidIndexSpace.cpp:89
Phase names namespace.
Definition CD_MultiFluidIndexSpace.H:28
which_phase
Enumeration of supported phases.
Definition CD_MultiFluidIndexSpace.H:38
@ solid
Solid (dielectric) phase.
Definition CD_MultiFluidIndexSpace.H:40
@ gas
Gas phase.
Definition CD_MultiFluidIndexSpace.H:39
const int numPhases
Number of supported phases.
Definition CD_MultiFluidIndexSpace.H:32