chombo-discharge
Loading...
Searching...
No Matches
CD_MFHelmholtzJumpBCFactory.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_MFHELMHOLTZJUMPBCFACTORY_H
14#define CD_MFHELMHOLTZJUMPBCFACTORY_H
15
16// Our includes
18#include <CD_NamespaceHeader.H>
19
24{
25public:
30
35
40
45
62 const MFLevelGrid& a_mflg,
63 const BcoefPtr& a_Bcoef,
64 const AmrMask& a_validCells,
65 const Real a_dx,
66 const int a_order,
67 const int a_weight,
68 const int a_radius,
69 const int a_ghostCF,
70 const IntVect a_ghostPhi);
71
76 virtual void
78
83 virtual void
85
86protected:
91
97};
98
99#include <CD_NamespaceFooter.H>
100
101#endif
Declaration of class for computing "jump interface" boundary conditions for multifluid Helmholtz code...
Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context.
Definition CD_MFHelmholtzJumpBCFactory.H:24
virtual void setCoarseGridDropOrder(const bool a_dropOrder)
Drop to a first-order approximation if the cut-cell is a coarsened cell.
Definition CD_MFHelmholtzJumpBCFactory.cpp:40
RefCountedPtr< LevelData< BaseFab< bool > > > AmrMask
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBCFactory.H:34
virtual RefCountedPtr< MFHelmholtzJumpBC > create(const Location::Cell a_dataLocation, const MFLevelGrid &a_mflg, const BcoefPtr &a_Bcoef, const AmrMask &a_validCells, const Real a_dx, const int a_order, const int a_weight, const int a_radius, const int a_ghostCF, const IntVect a_ghostPhi)
Factory method for creating MFHelmholtzJumpBC objects.
Definition CD_MFHelmholtzJumpBCFactory.cpp:46
MFHelmholtzJumpBCFactory()
Weak constructor.
Definition CD_MFHelmholtzJumpBCFactory.cpp:20
RefCountedPtr< LevelData< MFBaseIVFAB > > BcoefPtr
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBCFactory.H:29
virtual ~MFHelmholtzJumpBCFactory()
Default constructor.
Definition CD_MFHelmholtzJumpBCFactory.cpp:28
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition CD_MFHelmholtzJumpBCFactory.cpp:34
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition CD_MFHelmholtzJumpBCFactory.H:90
bool m_dropOrder
Special flag for signalling MFHelmholtzJumpBC that it should drop the stencil order to 1 if the cut-c...
Definition CD_MFHelmholtzJumpBCFactory.H:96
Wrapper class for holding multifluid EBLevelGrids.
Definition CD_MFLevelGrid.H:30
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38
Cell
Enum for distinguishing between cell locations.
Definition CD_Location.H:31