D3DEnergetic / FIDASIM

A Neutral Beam and Fast-ion Diagnostic Modeling Suite
http://d3denergetic.github.io/FIDASIM/
Other
29 stars 19 forks source link

Developed a better algorithm to create the passive neutral grid #173

Closed alvin-garcia closed 5 years ago

alvin-garcia commented 5 years ago

Luke,

I developed a better a way to create the passive neutral grid. Creating the grid can be thought of as a combinatorics problem, and one can count all the combinations in the xy plane that would be an issue for defining the domain as -pi, pi. I tested it with TCV and LHD inputs, where they are defined from 0, 2 pi and -pi, pi, respectively. I reproduced the same results as before. Thus, this is ready to be merged.

Best,

Alvin