chombo-discharge
Loading...
Searching...
No Matches
CD_MultiFluidIndexSpace.H
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
13#ifndef CD_MULTIFLUIDINDEXSPACE_H
14#define CD_MULTIFLUIDINDEXSPACE_H
15
16// Chombo includes
17#include <GeometryService.H>
18#include <EBIndexSpace.H>
19#include <RealVect.H>
20#include <MFIndexSpace.H>
21
22// Our includes
23#include <CD_NamespaceHeader.H>
24
28namespace phase {
32 const int numPhases = 2;
33
38 {
39 gas = 0,
40 solid = 1
41 };
42} // namespace phase
43
141
142#include <CD_NamespaceFooter.H>
143
144#endif
Two-fluid index space.
Definition CD_MultiFluidIndexSpace.H:49
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:134
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:139
int numPhases() const
Get number of phases.
Definition CD_MultiFluidIndexSpace.cpp:89
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38
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