fixed check for N// > 1
This commit is contained in:
parent
4a2b5fc638
commit
72b682229c
@ -17,8 +17,8 @@ contains
|
|||||||
if(ibits(ierr,pnpl, lnpl )==2 .or. & ! N// too large
|
if(ibits(ierr,pnpl, lnpl )==2 .or. & ! N// too large
|
||||||
ibits(ierr,palph,lalph)==1) then ! alpha < 0
|
ibits(ierr,palph,lalph)==1) then ! alpha < 0
|
||||||
istop = 1
|
istop = 1
|
||||||
else
|
! else
|
||||||
istop = 0
|
! istop = 0
|
||||||
end if
|
end if
|
||||||
end subroutine check_err
|
end subroutine check_err
|
||||||
|
|
||||||
|
@ -164,6 +164,7 @@ contains
|
|||||||
|
|
||||||
allout = .true. ! becomes false if at least part of the beam is inside the plsama
|
allout = .true. ! becomes false if at least part of the beam is inside the plsama
|
||||||
ierr = 0
|
ierr = 0
|
||||||
|
istop = 0
|
||||||
do jk=1,nray
|
do jk=1,nray
|
||||||
! compute derivatives with updated gradient and local plasma values
|
! compute derivatives with updated gradient and local plasma values
|
||||||
xv = yw(1:3,jk)
|
xv = yw(1:3,jk)
|
||||||
|
Loading…
Reference in New Issue
Block a user