PAPRECA hybrid off-lattice kMC/MD simulator  2.0.0 (17 September 2024)
event_select.h File Reference

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"
Include dependency graph for event_select.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Declarations for functions that (stochastically) select events for execution.