chombo-discharge
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
16 #include <CD_MFHelmholtzJumpBC.H>
17 #include <CD_NamespaceHeader.H>
18 
23 {
24 public:
28  using BcoefPtr = RefCountedPtr<LevelData<MFBaseIVFAB>>;
29 
34 
38  virtual ~MFHelmholtzJumpBCFactory();
39 
52  virtual RefCountedPtr<MFHelmholtzJumpBC>
53  create(const Location::Cell a_dataLocation,
54  const MFLevelGrid& a_mflg,
55  const BcoefPtr& a_Bcoef,
56  const Real a_dx,
57  const int a_order,
58  const int a_weight,
59  const int a_radius,
60  const int a_ghostCF,
61  const IntVect a_ghostPhi);
62 
66  virtual void
67  setDomainDropOrder(const int a_domainSize);
68 
69 protected:
74 };
75 
76 #include <CD_NamespaceFooter.H>
77 
78 #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 RefCountedPtr< MFHelmholtzJumpBC > create(const Location::Cell a_dataLocation, const MFLevelGrid &a_mflg, const BcoefPtr &a_Bcoef, 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:38
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:26
virtual void setDomainDropOrder(const int a_domainSize)
Drop BC order if domain size is equal or below this.
Definition: CD_MFHelmholtzJumpBCFactory.cpp:32
int m_domainDropOrder
Special flag for dropping stencil order when domains become coarser than this.
Definition: CD_MFHelmholtzJumpBCFactory.H:73
Wrapper class for holding multifluid EBLevelGrids.
Definition: CD_MFLevelGrid.H:29
Cell
Enum for distinguishing between cell locations.
Definition: CD_Location.H:30