puncproject / PUNCpp

Particles-in-UNstructured-Cells, C++ version
https://punc.readthedocs.io
GNU General Public License v3.0
12 stars 6 forks source link

Re-implement ORS method. #68

Open diakodarian opened 6 years ago

diakodarian commented 6 years ago

A properly implemented ORS should in theory be much faster than the standard rejection sampler. This wasn't the case with the previous implementation of ORS. That ORS is faster than RS has already been observed in the python version of the code, and most probably will make the injection process much more efficient.