chombo-discharge
Loading...
Searching...
No Matches
CD_EBHelmholtzNeumannEBBC.H
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
7/*
8 @file CD_EBHelmholtzNeumannEBBC.H
9 @brief Declaration of a boundary condition class for EBHelmholtzOp
10 @author Robert Marskar
11*/
12
13#ifndef CD_EBHELMHOLTZNEUMANNEBBC_H
14#define CD_EBHELMHOLTZNEUMANNEBBC_H
15
16// Std includes
17#include <functional>
18
19// Our includes
20#include <CD_EBHelmholtzEBBC.H>
21#include <CD_NamespaceHeader.H>
22
29{
30public:
35
40
46 void
47 setDphiDn(const Real a_DphiDn);
48
54 void
56
62 void
64
70 void
72
83 virtual void
86 const EBCellFAB& a_phi,
88 const DataIndex& a_dit,
89 const Real& a_beta,
90 const bool& a_homogeneousPhysBC) const override;
91
92protected:
97
102
107
112
117
121 virtual void
122 define() override;
123};
124
125#include <CD_NamespaceFooter.H>
126
127#endif
Base class for passing EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzEBBC.H:30
Base class for passing Neumann EB boundary conditions into EBHelmholtzOp.
Definition CD_EBHelmholtzNeumannEBBC.H:29
virtual void define() override
User define function.
Definition CD_EBHelmholtzNeumannEBBC.cpp:78
EBHelmholtzNeumannEBBC()
Default constructor.
Definition CD_EBHelmholtzNeumannEBBC.cpp:21
virtual void applyEBFlux(VoFIterator &a_vofit, EBCellFAB &a_Lphi, const EBCellFAB &a_phi, const BaseIVFAB< Real > &a_Bcoef, const DataIndex &a_dit, const Real &a_beta, const bool &a_homogeneousPhysBC) const override
Apply the EB flux. This is the version that is called by EBHelmholtzOp.
Definition CD_EBHelmholtzNeumannEBBC.cpp:124
bool m_useFunction
Use function for BC value.
Definition CD_EBHelmholtzNeumannEBBC.H:106
Real m_constantDphiDn
Value on EB.
Definition CD_EBHelmholtzNeumannEBBC.H:111
void setBxDphiDn(const Real a_BxDphiDn)
Set the value of B*dphi/dn on the EB.
Definition CD_EBHelmholtzNeumannEBBC.cpp:58
bool m_multByBco
Multiply by b-coefficient or not.
Definition CD_EBHelmholtzNeumannEBBC.H:96
bool m_useConstant
Use constant for BC.
Definition CD_EBHelmholtzNeumannEBBC.H:101
std::function< Real(const RealVect &a_pos)> m_functionDphiDn
Value on the EB.
Definition CD_EBHelmholtzNeumannEBBC.H:116
virtual ~EBHelmholtzNeumannEBBC()
Destructor.
Definition CD_EBHelmholtzNeumannEBBC.cpp:26
void setDphiDn(const Real a_DphiDn)
Set value of dphi/dn on the EB.
Definition CD_EBHelmholtzNeumannEBBC.cpp:32
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38
TracerParticleSolver()
Default constructor.
Definition CD_TracerParticleSolverImplem.H:26