chombo-discharge
Loading...
Searching...
No Matches
CD_MFHelmholtzJumpBCFactory.H
Go to the documentation of this file.
1/* chombo-discharge
2 * Copyright © 2021 SINTEF Energy Research.
3 * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4 */
5
12#ifndef CD_MFHelmholtzJumpBCFactory_H
13#define CD_MFHelmholtzJumpBCFactory_H
14
15// Our includes
17#include <CD_NamespaceHeader.H>
18
23{
24public:
29
34
39
44
60 const MFLevelGrid& a_mflg,
61 const BcoefPtr& a_Bcoef,
62 const AmrMask& a_validCells,
63 const Real a_dx,
64 const int a_order,
65 const int a_weight,
66 const int a_radius,
67 const int a_ghostCF,
68 const IntVect a_ghostPhi);
69
73 virtual void
75
79 virtual void
81
82protected:
87
93};
94
95#include <CD_NamespaceFooter.H>
96
97#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:23
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:39
RefCountedPtr< LevelData< BaseFab< bool > > > AmrMask
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBCFactory.H:33
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:45
MFHelmholtzJumpBCFactory()
Weak constructor.
Definition CD_MFHelmholtzJumpBCFactory.cpp:19
RefCountedPtr< LevelData< MFBaseIVFAB > > BcoefPtr
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBCFactory.H:28
virtual ~MFHelmholtzJumpBCFactory()
Default constructor.
Definition CD_MFHelmholtzJumpBCFactory.cpp:27
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition CD_MFHelmholtzJumpBCFactory.cpp:33
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition CD_MFHelmholtzJumpBCFactory.H:86
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:92
Wrapper class for holding multifluid EBLevelGrids.
Definition CD_MFLevelGrid.H:29
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:37
Cell
Enum for distinguishing between cell locations.
Definition CD_Location.H:30