Skip to content

Commit

Permalink
Merge branch 'master' into fix/acer-missing-particle
Browse files Browse the repository at this point in the history
  • Loading branch information
whaeck authored Jan 22, 2020
2 parents ea2ab8c + e7eae75 commit f9fd661
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/heatr.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2791,6 +2791,14 @@ subroutine sixbar(e,ebar,yld,dame,nin,c,ncmax,nscr,b,nbmax,&
awp=c2h
law=l2h
l=l+nw

!--error for awp=0. for non photons
if (zap.ne.0.and.awp.eq.0) then
write(strng,'(''awp is zero for for mt'',i3,'' particle '',i5)')&
mth,nint(zap)
call error('sixbar',strng,' ')
endif

do while (nb.ne.0)
call moreio(nin,0,0,c(l),nb,nw)
l=l+nw
Expand Down

0 comments on commit f9fd661

Please sign in to comment.