From d63dd8d081a6fcd0715cd13f26df59fb831769d2 Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Sun, 18 Oct 2015 18:51:00 +0100 Subject: Imported Upstream version 1.5.0 --- lib/fillcom.f90 | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) (limited to 'lib/fillcom.f90') diff --git a/lib/fillcom.f90 b/lib/fillcom.f90 index 03fbb2c1..f6523786 100644 --- a/lib/fillcom.f90 +++ b/lib/fillcom.f90 @@ -1,7 +1,9 @@ -subroutine fillcom(nutc0,ndepth0,nrxfreq) +subroutine fillcom(nutc0,ndepth0,nrxfreq,mode,tx9,flow,fsplit,fhigh) character*20 datetime - common/npar/nutc,ndiskdat,ntrperiod,nfqso,newdat,npts8,nfa,nfb,ntol, & - kin,nzhsym,nsave,nagain,ndepth,ntxmode,nmode,datetime + integer mode,flow,fsplit,fhigh + logical tx9 + common/npar/nutc,ndiskdat,ntrperiod,nfqso,newdat,npts8,nfa,nfsplit,nfb, & + ntol,kin,nzhsym,nsave,nagain,ndepth,ntxmode,nmode,datetime save nutc=nutc0 @@ -10,16 +12,26 @@ subroutine fillcom(nutc0,ndepth0,nrxfreq) nfqso=nrxfreq newdat=1 npts8=74736 - nfa=2700 - nfb=4007 + nfa=flow + nfsplit=fsplit + nfb=fhigh ntol=3 kin=1024 nzhsym=173 nsave=0 ndepth=ndepth0 - ntxmode=9 - nmode=9+65 + if (tx9) then + ntxmode=9 + else + ntxmode=65 + end if + if (mode.lt.9) then + nmode=65+9 + else + nmode=mode + end if datetime="2013-Apr-16 15:13" - + if(mode.eq.9 .and. nfsplit.ne.2700) nfa=nfsplit + return end subroutine fillcom -- cgit v1.2.3