You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve distinct radial knots in ASCII pmodb output #369
The ASCII field-strength table gpec_pmodb_n*.out can round distinct normalized poloidal flux values to the same number. PENTRC builds a radial spline for each poloidal mode on those knots. Duplicate knots can lead to non-finite torque.
gpout_pmodb writes the flux with ES17.8E3. For illustration, 0.5000000001 and 0.5000000002 would both be written as 5.00000000E-001. The precision of the displacement table gpec_xclebsch_n*.out preserves the distinction.
On develop at 86a1d8f, enable pmodb_flag and xclebsch_flag in docs/examples/regression_solovev_recon_example/gpec.in and run dcon and gpec. The maximum difference between corresponding flux entries in the two tables is 4.996e-10. The example's knots remain distinct.
Write the normalized flux in gpec_pmodb_n*.out with enough digits to retain a double-precision value.
Activity