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
parent 0e0349e87a
commit 091d6d0b1a
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
where(llr .ge. 0) hdec=1
nxor=ieor(hdec,cw)
nharderror=sum(nxor) ! re-calculate nharderror based on input llrs
dmin=sum(nxor*abs(llr))
ntype=1+nosd
ntype=1+i
return
endif
enddo

View File

@ -140,8 +140,9 @@ subroutine decode240_74(llr,Keff,maxosd,norder,apmask,message74,cw,ntype,nharder
hdec=0
where(llr .ge. 0) hdec=1
nxor=ieor(hdec,cw)
nharderror=sum(nxor) ! nharderror based on input llrs
dmin=sum(nxor*abs(llr))
ntype=1+nosd
ntype=1+i
return
endif
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'
complex cd(0:NN*nss-1)