!  DO NOT EDIT THIS FILE
!  But edit spaceparams.tmpl and/or makeincludes.F90
!  compile makeincludes.F90 and run the compilate
!  Compiling and running is taken care of by the Makefile
      real*8,dimension(:,:),    pointer :: x
      real*8,dimension(:,:),    pointer :: y
      real*8,dimension(:,:),    pointer :: xz
      real*8,dimension(:,:),    pointer :: yz
      real*8,dimension(:,:),    pointer :: xu
      real*8,dimension(:,:),    pointer :: yu
      real*8,dimension(:,:),    pointer :: xv
      real*8,dimension(:,:),    pointer :: yv
      real*8,dimension(:,:),    pointer :: dsu
      real*8,dimension(:,:),    pointer :: dsv
      real*8,dimension(:,:),    pointer :: dsz
      real*8,dimension(:,:),    pointer :: dsc
      real*8,dimension(:,:),    pointer :: dnu
      real*8,dimension(:,:),    pointer :: dnv
      real*8,dimension(:,:),    pointer :: dnz
      real*8,dimension(:,:),    pointer :: dnc
      real*8,dimension(:,:),    pointer :: dsdnui
      real*8,dimension(:,:),    pointer :: dsdnvi
      real*8,dimension(:,:),    pointer :: dsdnzi
      real*8,dimension(:,:),    pointer :: alfaz
      real*8,dimension(:,:),    pointer :: alfau
      real*8,dimension(:,:),    pointer :: alfav
      real*8,dimension(:,:),    pointer :: sdist
      real*8,dimension(:,:),    pointer :: ndist
      real*8,pointer :: dx
      real*8,pointer :: dy
      real*8,pointer :: xori
      real*8,pointer :: yori
      real*8,pointer :: alfa
      real*8,pointer :: posdwn
      real*8,pointer :: thetamin
      real*8,pointer :: thetamax
      integer,pointer :: nx
      integer,pointer :: ny
      real*8,pointer :: zs01
      real*8,pointer :: zs02
      real*8,pointer :: zs03
      real*8,pointer :: zs04
      real*8,dimension(:),      pointer :: xyzs01
      real*8,dimension(:),      pointer :: xyzs02
      real*8,dimension(:),      pointer :: xyzs03
      real*8,dimension(:),      pointer :: xyzs04
      integer,pointer :: tidelen
      integer,pointer :: windlen
      real*8,dimension(:,:),    pointer :: zb
      real*8,dimension(:,:),    pointer :: zb0
      real*8,dimension(:),      pointer :: theta
      real*8,dimension(:),      pointer :: theta_s
      integer,pointer :: ntheta
      integer,pointer :: ntheta_s
      real*8,pointer :: dtheta
      real*8,pointer :: dtheta_s
      real*8,pointer :: theta0
      real*8,dimension(:,:),    pointer :: thetamean
      real*8,dimension(:,:),    pointer :: Fx
      real*8,dimension(:,:),    pointer :: Fy
      real*8,dimension(:,:),    pointer :: Sxy
      real*8,dimension(:,:),    pointer :: Syy
      real*8,dimension(:,:),    pointer :: Sxx
      real*8,dimension(:,:),    pointer :: n
      real*8,dimension(:,:),    pointer :: H
      real*8,dimension(:,:,:),  pointer :: cgx
      real*8,dimension(:,:,:),  pointer :: cgy
      real*8,dimension(:,:,:),  pointer :: cx
      real*8,dimension(:,:,:),  pointer :: cy
      real*8,dimension(:,:,:),  pointer :: ctheta
      real*8,dimension(:,:,:),  pointer :: ee
      real*8,dimension(:,:,:),  pointer :: thet
      real*8,dimension(:,:,:),  pointer :: costh
      real*8,dimension(:,:,:),  pointer :: sinth
      real*8,dimension(:,:,:),  pointer :: sigt
      real*8,dimension(:,:,:),  pointer :: rr
      real*8,dimension(:,:,:),  pointer :: cgx_s
      real*8,dimension(:,:,:),  pointer :: cgy_s
      real*8,dimension(:,:,:),  pointer :: ctheta_s
      real*8,dimension(:,:,:),  pointer :: ee_s
      real*8,dimension(:,:,:),  pointer :: thet_s
      real*8,dimension(:,:,:),  pointer :: costh_s
      real*8,dimension(:,:,:),  pointer :: sinth_s
      real*8,dimension(:,:),    pointer :: k
      real*8,dimension(:,:),    pointer :: c
      real*8,dimension(:,:),    pointer :: cg
      real*8,dimension(:,:),    pointer :: sigm
      real*8,dimension(:,:),    pointer :: wm
      real*8,dimension(:,:),    pointer :: hh
      real*8,dimension(:,:),    pointer :: zs
      real*8,dimension(:,:),    pointer :: zs0
      real*8,dimension(:),      pointer :: tideinpt
      real*8,dimension(:,:),    pointer :: tideinpz
      real*8,dimension(:),      pointer :: windinpt
      real*8,dimension(:),      pointer :: windvelts
      real*8,dimension(:),      pointer :: winddirts
      real*8,dimension(:),      pointer :: windxts
      real*8,dimension(:),      pointer :: windyts
      real*8,dimension(:,:),    pointer :: windsu
      real*8,dimension(:,:),    pointer :: windnv
      real*8,dimension(:,:),    pointer :: dzsdt
      real*8,dimension(:,:),    pointer :: dzsdx
      real*8,dimension(:,:),    pointer :: dzsdy
      real*8,dimension(:,:),    pointer :: dzbdx
      real*8,dimension(:,:),    pointer :: dzbdy
      real*8,dimension(:,:),    pointer :: dzbdt
      real*8,dimension(:,:),    pointer :: dzbnow
      real*8,dimension(:,:),    pointer :: uu
      real*8,dimension(:,:),    pointer :: vu
      real*8,dimension(:,:),    pointer :: uv
      real*8,dimension(:,:),    pointer :: vv
      real*8,dimension(:,:),    pointer :: qx
      real*8,dimension(:,:),    pointer :: qy
      real*8,dimension(:,:),    pointer :: sedero
      real*8,dimension(:,:),    pointer :: dcbdx
      real*8,dimension(:,:),    pointer :: dcbdy
      real*8,dimension(:,:),    pointer :: dcsdx
      real*8,dimension(:,:),    pointer :: dcsdy
      real*8,dimension(:,:),    pointer :: ui
      real*8,dimension(:,:),    pointer :: vi
      real*8,dimension(:,:),    pointer :: E
      real*8,dimension(:,:),    pointer :: R
      real*8,dimension(:,:),    pointer :: urms
      real*8,dimension(:,:),    pointer :: D
      real*8,dimension(:,:),    pointer :: Qb
      real*8,dimension(:,:),    pointer :: ust
      real*8,dimension(:,:),    pointer :: ueu
      real*8,dimension(:,:),    pointer :: vev
      real*8,dimension(:,:),    pointer :: vmagu
      real*8,dimension(:,:),    pointer :: vmageu
      real*8,dimension(:,:),    pointer :: vmagv
      real*8,dimension(:,:),    pointer :: vmagev
      real*8,dimension(:,:),    pointer :: u
      real*8,dimension(:,:),    pointer :: v
      real*8,dimension(:,:),    pointer :: ue
      real*8,dimension(:,:),    pointer :: ve
      real*8,dimension(:,:),    pointer :: hold
      integer,dimension(:,:),    pointer :: wetu
      integer,dimension(:,:),    pointer :: wetv
      integer,dimension(:,:),    pointer :: wetz
      integer,dimension(:,:),    pointer :: wete
      real*8,dimension(:,:),    pointer :: hu
      real*8,dimension(:,:),    pointer :: hv
      real*8,dimension(:,:),    pointer :: hum
      real*8,dimension(:,:),    pointer :: hvm
      real*8,dimension(:,:),    pointer :: vmag
      real*8,dimension(:,:,:),  pointer :: ccg
      real*8,dimension(:,:),    pointer :: uwf
      real*8,dimension(:,:),    pointer :: vwf
      real*8,dimension(:,:),    pointer :: ustr
      real*8,dimension(:,:),    pointer :: usd
      real*8,dimension(:),      pointer :: bi
      real*8,dimension(:,:),    pointer :: DR
      real*8,dimension(:,:),    pointer :: umean
      real*8,dimension(:,:),    pointer :: vmean
      real*8,dimension(:,:),    pointer :: ur
      integer,pointer :: vardx
      real*8,dimension(:),      pointer :: D15
      real*8,dimension(:),      pointer :: D50
      real*8,dimension(:),      pointer :: D90
      real*8,dimension(:),      pointer :: sedcal
      real*8,dimension(:),      pointer :: ucrcal
      real*8,dimension(:,:,:),  pointer :: Tsg
      real*8,dimension(:,:,:),  pointer :: Susg
      real*8,dimension(:,:,:),  pointer :: Svsg
      real*8,dimension(:,:,:),  pointer :: Subg
      real*8,dimension(:,:,:),  pointer :: Svbg
      real*8,dimension(:,:,:),  pointer :: ceqbg
      real*8,dimension(:,:,:),  pointer :: ceqsg
      real*8,dimension(:,:),    pointer :: ua
      real*8,dimension(:,:),    pointer :: BR
      real*8,dimension(:,:),    pointer :: kb
      real*8,dimension(:,:),    pointer :: Tbore
      real*8,dimension(:,:),    pointer :: dzav
      real*8,dimension(:,:),    pointer :: maxzs
      real*8,dimension(:,:),    pointer :: minzs
      real*8,dimension(:,:),    pointer :: L1
      real*8,dimension(:,:),    pointer :: Sk
      real*8,dimension(:,:),    pointer :: As
      real*8,dimension(:,:),    pointer :: gwhead
      real*8,dimension(:,:),    pointer :: gwheadb
      real*8,dimension(:,:),    pointer :: gwlevel
      real*8,dimension(:,:),    pointer :: gwheight
      real*8,dimension(:,:),    pointer :: gwbottom
      real*8,dimension(:,:),    pointer :: gwu
      real*8,dimension(:,:),    pointer :: gwv
      real*8,dimension(:,:),    pointer :: gwqx
      real*8,dimension(:,:),    pointer :: gwqy
      real*8,dimension(:,:),    pointer :: gww
      real*8,dimension(:,:),    pointer :: gwcurv
      real*8,dimension(:,:),    pointer :: dinfil
      real*8,dimension(:,:),    pointer :: infil
      real*8,dimension(:,:),    pointer :: gw0back
      real*8,dimension(:,:),    pointer :: kturb
      real*8,dimension(:,:,:),  pointer :: ero
      real*8,dimension(:,:,:),  pointer :: depo_im
      real*8,dimension(:,:,:),  pointer :: depo_ex
      integer,dimension(:,:),    pointer :: nd
      real*8,dimension(:,:,:,:),pointer :: pbbed
      real*8,dimension(:,:,:),  pointer :: dzbed
      real*8,dimension(:,:),    pointer :: z0bed
      real*8,dimension(:,:),    pointer :: ureps
      real*8,dimension(:,:),    pointer :: vreps
      real*8,dimension(:,:),    pointer :: urepb
      real*8,dimension(:,:),    pointer :: vrepb
      real*8,dimension(:,:),    pointer :: umwci
      real*8,dimension(:,:),    pointer :: vmwci
      real*8,dimension(:,:),    pointer :: rolthick
      real*8,dimension(:,:),    pointer :: zswci
      real*8,dimension(:,:),    pointer :: pres
      real*8,dimension(:,:),    pointer :: dU
      real*8,dimension(:,:),    pointer :: dV
      real*8,dimension(:,:),    pointer :: wb
      real*8,dimension(:,:),    pointer :: ws
      real*8,dimension(:,:),    pointer :: wscrit
      real*8,dimension(:,:),    pointer :: bedfriccoef
      real*8,dimension(:,:),    pointer :: taubx
      real*8,dimension(:,:),    pointer :: tauby
      real*8,dimension(:,:),    pointer :: Df
      real*8,dimension(:,:),    pointer :: Dp
      real*8,dimension(:,:),    pointer :: Sutot
      real*8,dimension(:,:),    pointer :: Svtot
      real*8,dimension(:,:),    pointer :: cctot
      real*8,dimension(:,:),    pointer :: wi
      real*8,dimension(:,:),    pointer :: dUi
      real*8,dimension(:,:),    pointer :: zi
      real*8,dimension(:,:),    pointer :: nuh
      real*8,dimension(:,:),    pointer :: cf
      real*8,dimension(:,:),    pointer :: cfu
      real*8,dimension(:,:),    pointer :: cfv
      real*8,dimension(:,:),    pointer :: D50top
      real*8,dimension(:,:),    pointer :: D90top
      real*8,dimension(:,:),    pointer :: structdepth
      real*8,dimension(:,:,:),  pointer :: zs0fac
      real*8,dimension(:),      pointer :: tdisch
      integer*4,dimension(:,:),    pointer :: pdisch
      integer,dimension(:),      pointer :: pntdisch
      real*8,dimension(:,:),    pointer :: qdisch
      real*8,dimension(:),      pointer :: idrift
      real*8,dimension(:),      pointer :: jdrift
      real*8,dimension(:),      pointer :: tdriftb
      real*8,dimension(:),      pointer :: tdrifte
      real*8,dimension(:),      pointer :: runup
      real*8,dimension(:),      pointer :: Hrunup
      real*8,dimension(:),      pointer :: xHrunup
      real*8,dimension(:),      pointer :: istruct
      real*8,dimension(:),      pointer :: iwl
      real*8,dimension(:),      pointer :: strucslope
      real*8,dimension(:,:),    pointer :: Dc
      real*8,dimension(:,:),    pointer :: ph
      integer,pointer :: newstatbc
      real*8,dimension(:,:),    pointer :: dobs
      real*8,dimension(:,:),    pointer :: sig2prior
      real*8,dimension(:,:),    pointer :: zbobs
      real*8,dimension(:,:),    pointer :: shobs
      real*8,dimension(:,:),    pointer :: bwalpha
      real*8,dimension(:,:),    pointer :: dcmdo
      real*8,dimension(:,:),    pointer :: dassim
      real*8,dimension(:,:),    pointer :: cobs
      real*8,dimension(:),      pointer :: shipxCG
      real*8,dimension(:),      pointer :: shipyCG
      real*8,dimension(:),      pointer :: shipzCG
      real*8,dimension(:),      pointer :: shipFx
      real*8,dimension(:),      pointer :: shipFy
      real*8,dimension(:),      pointer :: shipFz
      real*8,dimension(:),      pointer :: shipMx
      real*8,dimension(:),      pointer :: shipMy
      real*8,dimension(:),      pointer :: shipMz
      real*8,dimension(:),      pointer :: shipphi
      real*8,dimension(:),      pointer :: shipchi
      real*8,dimension(:),      pointer :: shippsi
      real*8,dimension(:,:),    pointer :: Dveg
      real*8,dimension(:,:),    pointer :: Fvegu
      real*8,dimension(:,:),    pointer :: Fvegv
      real*8,dimension(:,:),    pointer :: ududx
      real*8,dimension(:,:),    pointer :: vdvdy
      real*8,dimension(:,:),    pointer :: udvdx
      real*8,dimension(:,:),    pointer :: vdudy
      real*8,dimension(:,:),    pointer :: viscu
      real*8,dimension(:,:),    pointer :: viscv
      real*8,dimension(:,:,:),  pointer :: setbathy
      real*8,dimension(:),      pointer :: tsetbathy
      integer,dimension(:,:),    pointer :: breaking
!directions for vi vim: filetype=fortran : syntax=fortran
