Repository navigation
Continue pygvec runs that start from a VMEC wout - #28
Merged
Merged
Conversation
The runner moves whichInitEquilibrium = 1 into its initial stage, but the later stages restart without the wout and lacked its nfp, boundary, flux and profiles: they failed on 'iota' or 'nfp', or ran with PHIEDGE = 1. Take those parameters from convert_vmec_wout, as pygvec convert-wout does.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
pygvec runmoveswhichInitEquilibrium = 1into its initial stage, but the stages after it restart without the wout. They lacked the wout'snfp, boundary, toroidal flux and profiles, so they failed withKeyError: 'iota'ormissing necessary parameter 'nfp', or ran withPHIEDGE = 1. This affected the test-CI cases that read a wout (vmec_readin_signgs-*,w7x_from_vmec_*).The runner now takes those parameters from
convert_vmec_wout, aspygvec convert-woutdoes. The discretisation (sgrid,X1X2_deg,LA_deg) stays as the parameter file sets it.test-CI/examples/vmec_readin_signgs-neg_asymF,pygvec runnow ends at |force| = 1.28e-4 after its 50 iterations, the same as the Fortrangvecbinary (1.2827e-4).test_run_continues_from_wout(symmetric and asymmetric wout) fails on develop withKeyError: 'iota'and passes with the change;test_convert_wout.pypasses 6/6.Chris&AI