12 #ifndef CD_NeutralSpeciesJSON_H
13 #define CD_NeutralSpeciesJSON_H
22 #include <CD_NamespaceHeader.H>
110 #include <CD_NamespaceFooter.H>
Encapsulation of species settings and initial conditiosn for use with CdrPlasma. This is for tracked ...
Definition: CD_NeutralSpeciesJSON.H:31
void define(const std::string a_name, const Real a_molarFraction, const NumberDensityFunction a_function)
Full constructor. Calls the define function.
Definition: CD_NeutralSpeciesJSON.cpp:34
std::string getName() const
Get the species name.
Definition: CD_NeutralSpeciesJSON.cpp:44
NeutralSpeciesJSON()
Default constructor. Must subsequently call define.
Definition: CD_NeutralSpeciesJSON.cpp:18
NumberDensityFunction m_function
Initial data function. Set by CdrPlasmaGenericModel.
Definition: CD_NeutralSpeciesJSON.H:105
std::function< Real(const RealVect a_pos)> NumberDensityFunction
Alias for initial data function.
Definition: CD_NeutralSpeciesJSON.H:36
virtual ~NeutralSpeciesJSON()
Destructor.
Definition: CD_NeutralSpeciesJSON.cpp:30
Real m_molarFraction
Molar fraction.
Definition: CD_NeutralSpeciesJSON.H:100
bool m_isDefined
Make sure model has initial data.
Definition: CD_NeutralSpeciesJSON.H:90
std::string m_name
Neutral species name.
Definition: CD_NeutralSpeciesJSON.H:95
Real getMolarFraction() const
Get the molar fraction.
Definition: CD_NeutralSpeciesJSON.cpp:50
Real operator()(const RealVect a_pos) const
Get (number) density at the physical coordinates.
Definition: CD_NeutralSpeciesJSON.cpp:56
Name containing various physics models for running chombo-discharge code.
Definition: CD_AdvectionDiffusion.H:15