Tweaks to update the diagnostics that are written to fort.21.

This commit is contained in:
Steven Franke 2020-08-21 09:18:59 -05:00 committed by Bill Somerville
parent e02850ae5a
commit b9328b96c9
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
3 changed files with 5 additions and 3 deletions

View File

@ -140,8 +140,9 @@ subroutine decode240_101(llr,Keff,maxosd,norder,apmask,message101,cw,ntype,nhard
hdec=0 hdec=0
where(llr .ge. 0) hdec=1 where(llr .ge. 0) hdec=1
nxor=ieor(hdec,cw) nxor=ieor(hdec,cw)
nharderror=sum(nxor) ! re-calculate nharderror based on input llrs
dmin=sum(nxor*abs(llr)) dmin=sum(nxor*abs(llr))
ntype=1+nosd ntype=1+i
return return
endif endif
enddo enddo

View File

@ -140,8 +140,9 @@ subroutine decode240_74(llr,Keff,maxosd,norder,apmask,message74,cw,ntype,nharder
hdec=0 hdec=0
where(llr .ge. 0) hdec=1 where(llr .ge. 0) hdec=1
nxor=ieor(hdec,cw) nxor=ieor(hdec,cw)
nharderror=sum(nxor) ! nharderror based on input llrs
dmin=sum(nxor*abs(llr)) dmin=sum(nxor*abs(llr))
ntype=1+nosd ntype=1+i
return return
endif endif
enddo enddo

View File

@ -1,4 +1,4 @@
subroutine get_fst4_bitmetrics(cd,nss,hmod,nmax,nhicoh,bitmetrics,s4,badsync) subroutine get_fst4_bitmetrics(cd,nss,hmod,nmax,nhicoh,bitmetrics,s4,nsync_qual,badsync)
include 'fst4_params.f90' include 'fst4_params.f90'
complex cd(0:NN*nss-1) complex cd(0:NN*nss-1)