@@ -28,6 +28,7 @@ PROGRAM stride
2828 $ reform_eq_with_psilim= .FALSE.
2929 INTEGER :: mmin
3030 REAL (r8 ) :: plasma1,vacuum1,total1
31+ REAL (r8 ) :: psilow_tmp, psilim_tmp
3132
3233 CHARACTER (len= 64 ) :: arg_str1, arg_str2
3334 INTEGER :: nArg
@@ -132,7 +133,7 @@ PROGRAM stride
132133c -----------------------------------------------------------------------
133134 CALL sing_lim ! determine if qhigh is truncating before psihigh
134135 CALL sing_min ! dettermine if qlow excludes more of the core
135- ! Unlike DCON, we fore a resplining.
136+ ! Unlike DCON, we force a resplining.
136137 ! The equil_out_qfind propogates to sing_find and then to the
137138 ! parallelized intervals in a complicated web. Thus, it is not
138139 ! sufficient to simply set the axisPsi to " start" the ODE somewhere new
@@ -142,7 +143,9 @@ PROGRAM stride
142143 PRINT * , " > Forcing reform_eq_with_psilim=t"
143144 ENDIF
144145 IF (psilim /= psihigh .OR. psilow /= sq%xs(0 ))THEN
145- CALL equil_read(out_unit, psilim)
146+ psilow_tmp = psilow ! if we feed psilow directly, it get' s overwritten by namelist read
147+ psilim_tmp = psilim
148+ CALL equil_read(out_unit, psilim_tmp, psilow_tmp)
146149 CALL equil_out_global
147150 CALL equil_out_qfind
148151 ENDIF
0 commit comments