src/equilibrium.f90: set q=0 for ψ>1 in numeric case
This commit is contained in:
parent
85c84c9a48
commit
c99fc0b343
@ -1195,7 +1195,13 @@ contains
|
||||
|
||||
case (EQ_EQDSK_FULL, EQ_EQDSK_PARTIAL)
|
||||
! Numerical data
|
||||
if (psin < 1) then
|
||||
fq = q_spline%eval(psin)
|
||||
else
|
||||
! q is undefined or infinite
|
||||
fq = 0
|
||||
end if
|
||||
|
||||
end select
|
||||
end function fq
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user