PAPRECA hybrid off-lattice kMC/MD simulator
2.0.0 (17 September 2024)
|
child of PAPRECA::Event dedicated to monoatomic desorption events (i.e., where a single atom is ejected from the system). More...
#include <event.h>
Public Member Functions | |
MonoatomicDesorption (const double &rate_in, const LAMMPS_NS::tagint &parent_id_in, const int &parent_type_in, PredefinedMonoatomicDesorption *des_template_in) | |
~MonoatomicDesorption () | |
const LAMMPS_NS::tagint & | getParentId () const |
const int & | getParentType () const |
PredefinedMonoatomicDesorption * | getMonoDesTemplate () |
![]() | |
Event () | |
Event (const double &rate_in, const std::string &type_in) | |
virtual | ~Event () |
void | assignRate (const double &rate_in) |
void | assignType (const std::string &type_in) |
const double & | getRate () const |
void | setRate (const double &rate_in) |
const std::string & | getType () const |
Protected Attributes | |
LAMMPS_NS::tagint | parent_id = -1 |
int | parent_type = -2 |
![]() | |
double | rate |
std::string | type |
Private Attributes | |
PredefinedMonoatomicDesorption * | monodes_template = NULL |
Additional Inherited Members | |
![]() | |
static void | fillRatesArr (double *event_rates, const std::vector< Event * > &events) |
static void | fillRatesVec (std::vector< double > &event_rates, const std::vector< Event * > &events) |
static std::vector< double > | getRatesVec (const std::vector< Event * > &events) |
static double | getSumOfRates (const std::vector< Event * > &events) |
static void | deleteAndClearLocalEvents (LAMMPS_NS::LAMMPS *lmp, std::vector< Event * > &events_local) |
child of PAPRECA::Event dedicated to monoatomic desorption events (i.e., where a single atom is ejected from the system).
PAPRECA::MonoatomicDesorption::MonoatomicDesorption | ( | const double & | rate_in, |
const LAMMPS_NS::tagint & | parent_id_in, | ||
const int & | parent_type_in, | ||
PredefinedMonoatomicDesorption * | des_template_in | ||
) |
PAPRECA::MonoatomicDesorption::~MonoatomicDesorption | ( | ) |
PredefinedMonoatomicDesorption * PAPRECA::MonoatomicDesorption::getMonoDesTemplate | ( | ) |
const int & PAPRECA::MonoatomicDesorption::getParentId | ( | ) | const |
const int & PAPRECA::MonoatomicDesorption::getParentType | ( | ) | const |
|
private |
|
protected |
|
protected |