Simple CdrSpecies class for usage with ItoKMC.
More...
#include <CD_ItoKMCCDRSpecies.H>
|
| using | FunctionXt = std::function< Real(const RealVect a_position, const Real a_time)> |
| | Function alias for e.g. initial data.
|
| |
|
| | ItoKMCCDRSpecies (const std::string &a_name, const int a_chargeNumber, const bool a_isMobile, const bool a_isDiffusive) |
| | Full constructor.
|
| |
|
virtual | ~ItoKMCCDRSpecies () noexcept |
| | Destructor. Does nothing.
|
| |
| virtual Real | initialData (const RealVect &a_pos, const Real a_time) const override final |
| | Returns initial data for this species.
|
| |
| virtual void | setInitialData (const FunctionXt &a_initialData) |
| | Set the initial data function for this species.
|
| |
|
| CdrSpecies () |
| | Weak constructor.
|
| |
| | CdrSpecies (const std::string &a_name, const int a_chargeNumber, const bool a_isMobile, const bool a_isDiffusive) |
| | Full constructor.
|
| |
|
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 ParticleSoA< NoPayload > & | getInitialParticles () const |
| | Get initial particles.
|
| |
| ParticleSoA< NoPayload > & | getInitialParticles () |
| | Get initial particles.
|
| |
|
|
FunctionXt | m_initialData |
| | Initial data function.
|
| |
|
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.
|
| |
|
ParticleSoA< NoPayload > | m_initialParticles |
| | Initial particles.
|
| |
Simple CdrSpecies class for usage with ItoKMC.
◆ FunctionXt
Function alias for e.g. initial data.
- Parameters
-
| [in] | a_position | Physical coordinates |
| [in] | a_time | Time |
◆ ItoKMCCDRSpecies()
| Physics::ItoKMC::ItoKMCCDRSpecies::ItoKMCCDRSpecies |
( |
const std::string & |
a_name, |
|
|
const int |
a_chargeNumber, |
|
|
const bool |
a_isMobile, |
|
|
const bool |
a_isDiffusive |
|
) |
| |
|
inline |
Full constructor.
- Parameters
-
| [in] | a_name | Name of the species. |
| [in] | a_chargeNumber | Charge number (elementary charges). |
| [in] | a_isMobile | Mobile or not. |
| [in] | a_isDiffusive | Diffusive or not. |
◆ initialData()
| virtual Real Physics::ItoKMC::ItoKMCCDRSpecies::initialData |
( |
const RealVect & |
a_pos, |
|
|
const Real |
a_time |
|
) |
| const |
|
inlinefinaloverridevirtual |
Returns initial data for this species.
- Parameters
-
| [in] | a_pos | Physical position. |
| [in] | a_time | Simulation time. |
- Returns
- Initial density at the given position and time.
Implements CdrSpecies.
◆ setInitialData()
| virtual void Physics::ItoKMC::ItoKMCCDRSpecies::setInitialData |
( |
const FunctionXt & |
a_initialData | ) |
|
|
inlinevirtual |
Set the initial data function for this species.
- Parameters
-
| [in] | a_initialData | Callable returning the initial density at (position, time). |
The documentation for this class was generated from the following file: