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