|
chombo-discharge
|
Concrete CdrSpecies implementation for the advection-diffusion test problem. More...
#include <CD_AdvectionDiffusionSpecies.H>


Protected Attributes | |
| std::function< Real(const RealVect &a_pos)> | m_initialData |
| Functor encoding the initial concentration profile. | |
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. | |
Concrete CdrSpecies implementation for the advection-diffusion test problem.
This class defines a single passive scalar species for use with AdvectionDiffusionStepper. The initial data, mobility, and diffusivity are set at construction time. The species carries no net charge.
|
inline |
Full constructor.
| [in] | a_initialData | Functor returning the initial scalar concentration at a given position. |
| [in] | a_mobile | If true, the species is advected by the velocity field. |
| [in] | a_diffusive | If true, the species undergoes diffusion. |
|
default |
Copy constructor.
| [in] | a_other | Object to copy. |
|
default |
Move constructor.
| [in,out] | a_other | Object to move from. |
|
inlineoverridevirtual |
Return the initial scalar concentration at a given position and time.
| [in] | a_pos | Physical position. |
Implements CdrSpecies.
|
default |
Move assignment operator.
| [in,out] | a_other | Object to move from. |
|
default |
Copy assignment operator.
| [in] | a_other | Object to copy. |