chombo-discharge
CD_MFHelmholtzSaturationChargeJumpBC.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_MFHelmholtzSaturationChargeJumpBC_H
13 #define CD_MFHelmholtzSaturationChargeJumpBC_H
14 
15 // Our includes
16 #include <CD_MFHelmholtzJumpBC.H>
17 #include <CD_NamespaceHeader.H>
18 
23 {
24 public:
29 
42  MFHelmholtzSaturationChargeJumpBC(const phase::which_phase a_phase,
43  const Location::Cell a_dataLocation,
44  const MFLevelGrid& a_mflg,
45  const BcoefPtr& a_Bcoef,
46  const Real a_dx,
47  const int a_order,
48  const int a_weight,
49  const int a_radius,
50  const int a_ghostCF,
51  const IntVect a_ghostPhi);
52 
57 
67  virtual void
68  matchBC(BaseIVFAB<Real>& a_jump,
69  const MFCellFAB& a_phi,
70  const bool a_homogeneousPhysBC,
71  const DataIndex& a_dit) const override;
72 
73 protected:
77  phase::which_phase m_phase;
78 };
79 
80 #include <CD_NamespaceFooter.H>
81 
82 #endif
Declaration of class for computing "jump interface" boundary conditions for multifluid Helmholtz code...
Class for computing "jump interface" boundary conditions for multifluid code.
Definition: CD_MFHelmholtzJumpBC.H:42
RefCountedPtr< LevelData< MFBaseIVFAB > > BcoefPtr
Alias to cut down on typing.
Definition: CD_MFHelmholtzJumpBC.H:47
Class for computing matching the saturation charge boundary condition in an MFHelmholtzOp context.
Definition: CD_MFHelmholtzSaturationChargeJumpBC.H:23
virtual void matchBC(BaseIVFAB< Real > &a_jump, const MFCellFAB &a_phi, const bool a_homogeneousPhysBC, const DataIndex &a_dit) const override
Match the BC.
Definition: CD_MFHelmholtzSaturationChargeJumpBC.cpp:39
phase::which_phase m_phase
Phase where the saturation charge BC is applied.
Definition: CD_MFHelmholtzSaturationChargeJumpBC.H:77
virtual ~MFHelmholtzSaturationChargeJumpBC()
Destructor (does nothing)
Definition: CD_MFHelmholtzSaturationChargeJumpBC.cpp:33
MFHelmholtzSaturationChargeJumpBC()=delete
Disallowe weak construction.
Wrapper class for holding multifluid EBLevelGrids.
Definition: CD_MFLevelGrid.H:29
Cell
Enum for distinguishing between cell locations.
Definition: CD_Location.H:30