12 #ifndef CD_AdvectionDiffusionSpecies_H
13 #define CD_AdvectionDiffusionSpecies_H
17 #include <CD_NamespaceHeader.H>
20 namespace AdvectionDiffusion {
37 const bool a_diffusive)
39 m_initialData = a_initialData;
43 m_name =
"AdvectionDiffusionSpecies";
59 initialData(
const RealVect a_pos,
const Real a_time)
const override
61 return m_initialData(a_pos);
65 std::function<Real(
const RealVect& a_pos)> m_initialData;
70 #include <CD_NamespaceFooter.H>
Declaration of a class that passes information into CdrSolver (e.g., initial conditions).
Abstract class that describes the scalar quantity that is advected in CdrSolver.
Definition: CD_CdrSpecies.H:30
bool m_isMobile
Mobile CdrSpecies or not.
Definition: CD_CdrSpecies.H:114
bool m_isDiffusive
Diffusive CdrSpecies or not.
Definition: CD_CdrSpecies.H:109
int m_chargeNumber
Charge.
Definition: CD_CdrSpecies.H:104
std::string m_name
Cdr_Species name.
Definition: CD_CdrSpecies.H:99
Advection and diffused species for AdvectionDiffusionStepper.
Definition: CD_AdvectionDiffusionSpecies.H:27
Real initialData(const RealVect a_pos, const Real a_time) const override
Initial data.
Definition: CD_AdvectionDiffusionSpecies.H:59
AdvectionDiffusionSpecies(const std::function< Real(const RealVect &a_pos)> &a_initialData, const bool a_mobile, const bool a_diffusive)
Constructor.
Definition: CD_AdvectionDiffusionSpecies.H:35
virtual ~AdvectionDiffusionSpecies()
Destructor.
Definition: CD_AdvectionDiffusionSpecies.H:49
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15