chombo-discharge
|
Advection and diffused species for DischargeInceptionStepper. More...
#include <CD_DischargeInceptionSpecies.H>
Public Member Functions | |
DischargeInceptionSpecies (const std::function< Real(const RealVect &a_pos)> &a_initialData, const bool a_mobile, const bool a_diffusive) | |
Constructor. More... | |
virtual | ~DischargeInceptionSpecies () |
Destructor. | |
Real | initialData (const RealVect a_pos, const Real a_time) const override |
Initial data. More... | |
Public Member Functions inherited from CdrSpecies | |
CdrSpecies () | |
Weak constructor. | |
CdrSpecies (const std::string a_name, const int a_chargeNumber, const bool a_isMobile, const bool a_isDiffusive) | |
Full constructor. More... | |
virtual | ~CdrSpecies () |
Destructor (does nothing) | |
virtual std::string | getName () const |
Return name. | |
virtual int | getChargeNumber () const |
Return charge. | |
virtual bool | isDiffusive () const |
Diffusive species or not. | |
virtual bool | isMobile () const |
Mobile species or not. | |
virtual const List< PointParticle > & | getInitialParticles () const |
Get initial particles. | |
List< PointParticle > & | getInitialParticles () |
Get initial particles. | |
Protected Attributes | |
std::function< Real(const RealVect &a_pos)> | m_initialData |
Initial ion density. | |
Protected Attributes inherited from CdrSpecies | |
std::string | m_name |
Cdr_Species name. | |
int | m_chargeNumber |
Charge. | |
bool | m_isDiffusive |
Diffusive CdrSpecies or not. | |
bool | m_isMobile |
Mobile CdrSpecies or not. | |
List< PointParticle > | m_initialParticles |
Initial particles. | |
Advection and diffused species for DischargeInceptionStepper.
The initial conditions and mobility/diffusion settings are initialized upon construction.
|
inline |
Constructor.
[in] | a_initialData | Initial data |
[in] | a_mobile | Mobile or not |
[in] | a_diffusive | Diffusive or not |
|
inlineoverridevirtual |
Initial data.
This returns a super-Gaussian blob.
[in] | a_pos | Position. |
[in] | a_time | Time |
Implements CdrSpecies.