BEAMS3D: Removed beam multi-pass option #345
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The pull request removes the multi-pass beam option from BEAMS3D. The multipass option was implemented by @kudav to deal with ASDEX-U tangential beams which 'scrapped' the inner stack. Here the beamline would allow some particles which are not ionized on the first pass to reenter the plasma from the inboard side. Unfortunately the implementation failed to properly catch the wall in some cases for shine-through particles. In particular @cfe316 demonstrated that particles for more radial beams would often find themselves on the other side of the torus before ionizing or being detected as wall hits. For this reason the modifications are being removed.
The ability to catch re-entrant particles is a worthwhile modificaiton to the code but must be done more rigerously. An issue related to this topic with a proposed test problem (not ASDEX-U) will be generated to properly develop and test such a feature.
This should close #332