PAPRECA hybrid off-lattice kMC/MD simulator
2.0.0 (17 September 2024)
|
Declarations for functions that (stochastically) select events for execution. More...
#include <vector>
#include <mpi.h>
#include "lammps.h"
#include "event.h"
#include "event_list.h"
#include "papreca_config.h"
#include "utilities.h"
Go to the source code of this file.
Namespaces | |
PAPRECA | |
Functions | |
double | PAPRECA::getLocalRate (std::vector< Event * > &events_local, PaprecaConfig &papreca_config) |
void | PAPRECA::fillAndSortIndexedRatesVec (double *arr, const int &arr_size, DOUBLE2INTPAIR_VEC &rates_indexed) |
int | PAPRECA::selectProcessStochastically (double *arr, const int &arr_size, double &rnum, double &rates_sum) |
Declarations for functions that (stochastically) select events for execution.