ascot4fusion / ascot5

ASCOT5 is a high-performance orbit-following code for fusion plasma physics and engineering
https://ascot4fusion.github.io/ascot5/
GNU Lesser General Public License v3.0
31 stars 9 forks source link

AFSI with toroidal and energy-pitch abscissae #131

Open miekkasarki opened 1 week ago

miekkasarki commented 1 week ago

Allow users to choose between cylindrical (R,phi,z) and toroidal (rho,theta,phi) spatial grids and (ppara,pperp) and (energy,pitch) momentum space basis when using AFSI. Toroidal grid is very useful for stellarators while (energy,pitch) is more convenient when calculating thermal fusion products. Using more suitable grid increases accuracy and reduces memory consumption.

miekkasarki commented 1 week ago

It's now possible to: