12 #ifndef CD_CdrSpecies_H
13 #define CD_CdrSpecies_H
21 #include <CD_NamespaceHeader.H>
44 CdrSpecies(
const std::string a_name,
const int a_chargeNumber,
const bool a_isMobile,
const bool a_isDiffusive);
57 initialData(
const RealVect a_pos,
const Real a_time)
const = 0;
86 virtual const List<PointParticle>&
122 #include <CD_NamespaceFooter.H>
Declaration of a computational point particle.
Abstract class that describes the scalar quantity that is advected in CdrSolver.
Definition: CD_CdrSpecies.H:30
virtual ~CdrSpecies()
Destructor (does nothing)
Definition: CD_CdrSpecies.cpp:47
virtual bool isMobile() const
Mobile species or not.
Definition: CD_CdrSpecies.cpp:83
bool m_isMobile
Mobile CdrSpecies or not.
Definition: CD_CdrSpecies.H:114
virtual Real initialData(const RealVect a_pos, const Real a_time) const =0
Initial data.
Definition: CD_CdrSpecies.cpp:51
virtual std::string getName() const
Return name.
Definition: CD_CdrSpecies.cpp:59
virtual int getChargeNumber() const
Return charge.
Definition: CD_CdrSpecies.cpp:67
CdrSpecies()
Weak constructor.
Definition: CD_CdrSpecies.cpp:19
List< PointParticle > m_initialParticles
Initial particles.
Definition: CD_CdrSpecies.H:119
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
virtual bool isDiffusive() const
Diffusive species or not.
Definition: CD_CdrSpecies.cpp:75
virtual const List< PointParticle > & getInitialParticles() const
Get initial particles.
Definition: CD_CdrSpecies.cpp:91