chombo-discharge
|
Species which is advected/diffused in Brownian walker code. More...
#include <CD_BrownianWalkerSpecies.H>
Public Member Functions | |
BrownianWalkerSpecies () | |
Constructor – reads in input parameters. | |
~BrownianWalkerSpecies () | |
Destructor (does nothing) | |
Public Member Functions inherited from ItoSpecies | |
ItoSpecies () | |
Default constructor, but user should set the name, charge/mobility/diffusivity etc. | |
ItoSpecies (const std::string a_name, const int a_chargeNumber, const bool a_mobile, const bool a_diffusive) | |
Full constructor. More... | |
virtual | ~ItoSpecies () |
Destructor (does nothing): | |
std::string | getName () const |
Return name. More... | |
int | getChargeNumber () const |
Return charge. More... | |
bool | isDiffusive () const |
Return diffusive or not. | |
bool | isMobile () const |
Mobile ItoSpecies or not. | |
virtual Real | mobility (const Real a_energy) const |
Compute the mobility as a function of energy. More... | |
virtual Real | diffusion (const Real a_energy) const |
Compute the diffusion coefficient. More... | |
List< ItoParticle > & | getInitialParticles () |
Get initial particles – this is called by ItoSolver when filling the solver with initial particles. More... | |
const List< ItoParticle > & | getInitialParticles () const |
Get initial particles – this is called by ItoSolver when filling the solver with initial particles. More... | |
Protected Member Functions | |
void | drawInitParticles () |
Draw initial particles. | |
Protected Attributes | |
int | m_numParticles |
Number of initial particles. | |
Real | m_blobRadius |
Radius for the initial Gaussian distribution of particles. | |
RealVect | m_blobCenter |
Center-point for the Gaussian particle distribution. | |
Protected Attributes inherited from ItoSpecies | |
std::string | m_name |
Ito_Species name. | |
int | m_chargeNumber |
Charge. | |
bool | m_isDiffusive |
Diffusive ItoSpecies or not. | |
bool | m_isMobile |
Mobile ItoSpecies or not. | |
List< ItoParticle > | m_initialParticles |
Initial particles. | |
Species which is advected/diffused in Brownian walker code.
The initial particles are drawn from a Gaussian distribution. The user specifies how many, and the parameters for the distribution.