12 #ifndef CD_ItoSpecies_H
13 #define CD_ItoSpecies_H
20 #include <CD_NamespaceHeader.H>
42 ItoSpecies(
const std::string a_name,
const int a_chargeNumber,
const bool a_mobile,
const bool a_diffusive);
104 const List<ItoParticle>&
134 #include <CD_NamespaceFooter.H>
Declaration of a particle class for Ito diffusion.
Class that acts as user interface for parsing initial data and mobility/diffusion kernels into ItoSol...
Definition: CD_ItoSpecies.H:28
ItoSpecies()
Default constructor, but user should set the name, charge/mobility/diffusivity etc.
Definition: CD_ItoSpecies.cpp:16
bool isDiffusive() const
Return diffusive or not.
Definition: CD_ItoSpecies.cpp:48
int m_chargeNumber
Charge.
Definition: CD_ItoSpecies.H:116
std::string getName() const
Return name.
Definition: CD_ItoSpecies.cpp:36
bool m_isDiffusive
Diffusive ItoSpecies or not.
Definition: CD_ItoSpecies.H:121
List< ItoParticle > m_initialParticles
Initial particles.
Definition: CD_ItoSpecies.H:131
bool isMobile() const
Mobile ItoSpecies or not.
Definition: CD_ItoSpecies.cpp:54
virtual Real mobility(const Real a_energy) const
Compute the mobility as a function of energy.
Definition: CD_ItoSpecies.cpp:72
std::string m_name
Ito_Species name.
Definition: CD_ItoSpecies.H:111
bool m_isMobile
Mobile ItoSpecies or not.
Definition: CD_ItoSpecies.H:126
virtual ~ItoSpecies()
Destructor (does nothing):
Definition: CD_ItoSpecies.cpp:32
int getChargeNumber() const
Return charge.
Definition: CD_ItoSpecies.cpp:42
List< ItoParticle > & getInitialParticles()
Get initial particles – this is called by ItoSolver when filling the solver with initial particles.
Definition: CD_ItoSpecies.cpp:60
virtual Real diffusion(const Real a_energy) const
Compute the diffusion coefficient.
Definition: CD_ItoSpecies.cpp:78