summaryrefslogtreecommitdiff
path: root/lib/fillcom.f90
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fillcom.f90')
-rw-r--r--lib/fillcom.f9028
1 files changed, 20 insertions, 8 deletions
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