trunk/dispersion: added npra2 re-initialization if convergence fails
This commit is contained in:
parent
4f0cc7fb47
commit
5b44c46e70
@ -212,6 +212,7 @@ subroutine warmdisp(xg,yg,mu,npl,nprf,sox,lrm,err,nprr,npri,fast,imx,ex,ey,ez)
|
||||
if (imx.lt.0) then
|
||||
err=1
|
||||
imxx=1
|
||||
npra2=nprf**2
|
||||
else
|
||||
err=2
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user