beam-tracing / Scotty

Beam tracing code for diagnostics
https://scotty.readthedocs.io/en/latest/
GNU General Public License v3.0
7 stars 4 forks source link

Implement generalised Snell's law for entering or leaving the plasma #3

Closed valerian-chen closed 3 years ago

valerian-chen commented 4 years ago

Unless we use very gentle background profiles, there is a discontinuity in \Psi when entering and leaving the plasma. Should implement the generalised Snell's law (matching boundary conditions). Poli has a paper on this.

Can also probably just using vacuum propagation (Riccati thingy from Pereverzev) to go straight from launch to the edge of the plasma.