diff --git a/doc/ImpactTv2.pdf b/doc/ImpactTv2.pdf index 72b2ae5..fbe6413 100755 Binary files a/doc/ImpactTv2.pdf and b/doc/ImpactTv2.pdf differ diff --git a/src/Appl/Distribution.f90 b/src/Appl/Distribution.f90 index 3de33b9..c5486f6 100644 --- a/src/Appl/Distribution.f90 +++ b/src/Appl/Distribution.f90 @@ -858,6 +858,10 @@ subroutine read_Dist(this,nparam,distparam,ib) sum2 = 0.0 read(12,*)nptot + if(nptot.ne.this%Npt) then + print*,"Error: Total particle # in the partcl.data file is different from that in the ImpactT.in file." + stop + endif avgpts = nptot/nproc nleft = nptot - avgpts*nproc if(myid.lt.nleft) then