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.
This PR adds Generomak Equilibrium
The original equilibrium data were provided by @vsnever.
The equilibrium includes the first wall contoure, which was used to create the first wall meshes. The contour is copying closely the solps simulation provided by @vsnever (at least in the important regions)
The psi grid was clipped to extend only over the vessel.
Positions of the magnetic axis and x-point were found for a denser (interpolated) grid (to reach a better precision)
The position of the x-point determined the new psi at the last closed flux surface (either I misunderstood what the original data meant or the value was completely off)
Last closed flux surface polygon found as a contour given the psi at x-point
The strike-points were found as an intersection of divertor legs contour and the first wall polygon
This PR is connected to issues #211 and #210