From c78d88c7a840f3a03c07f8e00921d5023a3edaf7 Mon Sep 17 00:00:00 2001 From: Lorenzo Figini Date: Wed, 29 Aug 2012 16:34:47 +0000 Subject: [PATCH] corrected check on exit from plasma --- src/gray.f | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gray.f b/src/gray.f index 781a860..94acbe8 100644 --- a/src/gray.f +++ b/src/gray.f @@ -257,7 +257,7 @@ c ierr=0 if(i.gt.1.and.psinv.ge.0.and.psinv.lt.psdbnd) . iov(j,k)=1 - if(iov(j,k).eq.1.and.psinv.ge.1.0d0) iov(j,k)=2 + if(iov(j,k).eq.1.and.psinv.ge.psdbnd) iov(j,k)=2 c iov=0 initially, iov=1 first entrance in plasma, c iov=2 first exit from plasma, iov=3 after 2nd entrance into plasma