chombo-discharge
Loading...
Searching...
No Matches
CD_MFHelmholtzSaturationChargeJumpBCFactory.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_MFHELMHOLTZSATURATIONCHARGEJUMPBCFACTORY_H
14#define CD_MFHELMHOLTZSATURATIONCHARGEJUMPBCFACTORY_H
15
16// Our includes
18#include <CD_NamespaceHeader.H>
19
24{
25public:
29 using BcoefPtr = RefCountedPtr<LevelData<MFBaseIVFAB>>;
30
34 using AmrMask = RefCountedPtr<LevelData<BaseFab<bool>>>;
35
41
46
61 virtual RefCountedPtr<MFHelmholtzJumpBC>
62 create(const Location::Cell a_dataLocation,
63 const MFLevelGrid& a_mflg,
64 const BcoefPtr& a_Bcoef,
65 const AmrMask& a_validCells,
66 const Real a_dx,
67 const int a_order,
68 const int a_weight,
69 const int a_radius,
70 const int a_ghostCF,
71 const IntVect a_ghostPhi) override;
72
73protected:
78};
79
80#include <CD_NamespaceFooter.H>
81
82#endif
Declaration of a factory class for making MFHelmholtzJumpBC objects for use in a multifluid MFHelmhol...
Factory class for making jump boundary condition objects in a multifluid MFHelmholtzOp context.
Definition CD_MFHelmholtzJumpBCFactory.H:25
Factory class for making saturation charge jump boundary condition objects in multifluid Helmholtz co...
Definition CD_MFHelmholtzSaturationChargeJumpBCFactory.H:24
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) override
Factory method for creating MFHelmholtzSaturationChargeJumpBC objects.
Definition CD_MFHelmholtzSaturationChargeJumpBCFactory.cpp:33
virtual ~MFHelmholtzSaturationChargeJumpBCFactory()
Default constructor.
Definition CD_MFHelmholtzSaturationChargeJumpBCFactory.cpp:27
RefCountedPtr< LevelData< BaseFab< bool > > > AmrMask
Alias to cut down on typing.
Definition CD_MFHelmholtzSaturationChargeJumpBCFactory.H:34
phase::which_phase m_phase
Which phase the saturation BC is applied on.
Definition CD_MFHelmholtzSaturationChargeJumpBCFactory.H:77
RefCountedPtr< LevelData< MFBaseIVFAB > > BcoefPtr
Alias to cut down on typing.
Definition CD_MFHelmholtzSaturationChargeJumpBCFactory.H:29
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