CNF:Monte Carlo Event Generator using a Tessellation: Difference between revisions

From crtc.cs.odu.edu
Jump to navigation Jump to search
Nikos (talk | contribs)
Spyridon97 (talk | contribs)
Line 11: Line 11:
= Code =
= Code =
== ToDo  ==
== ToDo  ==
# Organize Gagik's code ✔
# Organize Gagik's code
# Add command-line interface ✔
# Add command-line interface
# Template code for 2-3 dimensions using:
# Template code for 2-3 dimensions using:
## [https://math.stackexchange.com/questions/18686/uniform-random-point-in-triangle Generate Random Points in a triangle] ✔
## [https://math.stackexchange.com/questions/18686/uniform-random-point-in-triangle Generate Random Points in a triangle]
## [http://vcg.isti.cnr.it/jgt/tetra.htm Generate Random Points in a tetrahedron] ✔
## [http://vcg.isti.cnr.it/jgt/tetra.htm Generate Random Points in a tetrahedron]
# Replace linear search (O(n)) of tetrahedrons with given weight threadhold with binary search (O(log(n))) ✔
# Replace linear search (O(n)) of tetrahedrons with given weight threadhold with binary search (O(log(n)))
# Parallelize code using OpenMP ✔
# Parallelize code using OpenMP


= References =
= References =
[https://github.com/gavalian/clas12ai/blob/add-crtc-ml/cnf/main.cc Gagik's MC kernel]
[https://github.com/gavalian/clas12ai/blob/add-crtc-ml/cnf/main.cc Gagik's MC kernel]

Revision as of 16:55, 15 July 2020

Repository

  1. Gitlab

Documentation

Summer 2020

  1. Add README.md file ✔


Code

ToDo

  1. Organize Gagik's code
  2. Add command-line interface
  3. Template code for 2-3 dimensions using:
    1. Generate Random Points in a triangle
    2. Generate Random Points in a tetrahedron
  4. Replace linear search (O(n)) of tetrahedrons with given weight threadhold with binary search (O(log(n)))
  5. Parallelize code using OpenMP

References

Gagik's MC kernel