Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pentrc/torque.F90
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ subroutine tpsi(tpsi_var,psi,n,l,zi,mi,wdfac,divxfac,electron, &
fbnce%fs(ilmda-1,3) = wbbar*djdj
! bounce locations recorded for optional output
vspl%fs(:,1) = 1.0-(lmda/bo)*tspl%fs(:,1)
call spline_fit(vspl,"extrap")
call spline_fit(vspl,"periodic")
call spline_roots(vspl,1,nbpts,bpts)
if(nbpts<1)then
print *, "!! WARNING: Found passing particle in bounce particle integrals"
Expand Down Expand Up @@ -597,7 +597,7 @@ subroutine tpsi(tpsi_var,psi,n,l,zi,mi,wdfac,divxfac,electron, &

! determine bounce points
vspl%fs(:,1) = 1.0-(lmda/bo)*tspl%fs(:,1)
call spline_fit(vspl,"extrap")
call spline_fit(vspl,"periodic")
if(sigma==0)then ! find trapped particle bounce pts
call spline_roots(vspl, 1, nbpts, bpts)
if(nbpts < 1)then
Expand Down
Loading