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
12
13#ifndef CD_MFHELMHOLTZSATURATIONCHARGEJUMPBC_H
14#define CD_MFHELMHOLTZSATURATIONCHARGEJUMPBC_H
15
16// Our includes
18#include <CD_NamespaceHeader.H>
19
24{
25public:
30
48 const Location::Cell a_dataLocation,
49 const MFLevelGrid& a_mflg,
50 const BcoefPtr& a_Bcoef,
51 const AmrMask& a_validCells,
52 const Real a_dx,
53 const int a_order,
54 const int a_weight,
55 const int a_radius,
56 const int a_ghostCF,
57 const IntVect a_ghostPhi,
58 const bool a_dropOrder);
59
64
76 virtual void
77 matchBC(BaseIVFAB<Real>& a_jump,
78 const MFCellFAB& a_phi,
79 const bool a_homogeneousPhysBC,
80 const DataIndex& a_dit) const override;
81
82protected:
87};
88
89#include <CD_NamespaceFooter.H>
90
91#endif
Declaration of class for computing "jump interface" boundary conditions for multifluid Helmholtz code...
RefCountedPtr< LevelData< MFBaseIVFAB > > BcoefPtr
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBC.H:50
MFHelmholtzJumpBC()=delete
Disallowed weak construction.
RefCountedPtr< LevelData< BaseFab< bool > > > AmrMask
Alias to cut down on typing.
Definition CD_MFHelmholtzJumpBC.H:55
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:51
phase::which_phase m_phase
Phase where the saturation charge BC is applied.
Definition CD_MFHelmholtzSaturationChargeJumpBC.H:86
virtual ~MFHelmholtzSaturationChargeJumpBC()
Destructor (does nothing).
Definition CD_MFHelmholtzSaturationChargeJumpBC.cpp:45
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