14#ifndef CD_MFHELMHOLTZJUMPBCFACTORY_H
15#define CD_MFHELMHOLTZJUMPBCFACTORY_H
19#include <CD_NamespaceHeader.H>
30 using BcoefPtr = RefCountedPtr<LevelData<MFBaseIVFAB>>;
35 using AmrMask = RefCountedPtr<LevelData<BaseFab<bool>>>;
61 virtual RefCountedPtr<MFHelmholtzJumpBC>
71 const IntVect a_ghostPhi);
100#include <CD_NamespaceFooter.H>
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:25
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:35
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:30
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:91
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:97
Wrapper class for holding multifluid EBLevelGrids.
Definition CD_MFLevelGrid.H:30
Cell
Enum for distinguishing between cell locations.
Definition CD_Location.H:31