chombo-discharge
Loading...
Searching...
No Matches
CD_MFHelmholtzSaturationChargeJumpBC.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_MFHELMHOLTZSATURATIONCHARGEJUMPBC_H
14#define CD_MFHELMHOLTZSATURATIONCHARGEJUMPBC_H
15
16// Our includes
18#include <CD_NamespaceHeader.H>
19
24{
25public:
30
46 const Location::Cell a_dataLocation,
47 const MFLevelGrid& a_mflg,
48 const BcoefPtr& a_Bcoef,
49 const AmrMask& a_validCells,
50 const Real a_dx,
51 const int a_order,
52 const int a_weight,
53 const int a_radius,
54 const int a_ghostCF,
55 const IntVect a_ghostPhi);
56
61
73 virtual void
74 matchBC(BaseIVFAB<Real>& a_jump,
75 const MFCellFAB& a_phi,
76 const bool a_homogeneousPhysBC,
77 const DataIndex& a_dit) const override;
78
79protected:
84};
85
86#include <CD_NamespaceFooter.H>
87
88#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:45
RefCountedPtr< LevelData< MFBaseIVFAB > > BcoefPtr
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBC.H:50
RefCountedPtr< LevelData< BaseFab< bool > > > AmrMask
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBC.H:55
Class for computing matching the saturation charge boundary condition in an MFHelmholtzOp context.
Definition CD_MFHelmholtzSaturationChargeJumpBC.H:24
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:49
phase::which_phase m_phase
Phase where the saturation charge BC is applied.
Definition CD_MFHelmholtzSaturationChargeJumpBC.H:83
virtual ~MFHelmholtzSaturationChargeJumpBC()
Destructor (does nothing)
Definition CD_MFHelmholtzSaturationChargeJumpBC.cpp:43
MFHelmholtzSaturationChargeJumpBC()=delete
Disallowe weak construction.
Wrapper class for holding multifluid EBLevelGrids.
Definition CD_MFLevelGrid.H:30
Cell
Enum for distinguishing between cell locations.
Definition CD_Location.H:31
which_phase
Enumeration of supported phases.
Definition CD_MultiFluidIndexSpace.H:38