!  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
      case(  1)
        r = allocated(s%x)
      case(  2)
        r = allocated(s%y)
      case(  3)
        r = allocated(s%xz)
      case(  4)
        r = allocated(s%yz)
      case(  5)
        r = allocated(s%xu)
      case(  6)
        r = allocated(s%yu)
      case(  7)
        r = allocated(s%xv)
      case(  8)
        r = allocated(s%yv)
      case(  9)
        r = allocated(s%dsu)
      case( 10)
        r = allocated(s%dsv)
      case( 11)
        r = allocated(s%dsz)
      case( 12)
        r = allocated(s%dsc)
      case( 13)
        r = allocated(s%dnu)
      case( 14)
        r = allocated(s%dnv)
      case( 15)
        r = allocated(s%dnz)
      case( 16)
        r = allocated(s%dnc)
      case( 17)
        r = allocated(s%dsdnui)
      case( 18)
        r = allocated(s%dsdnvi)
      case( 19)
        r = allocated(s%dsdnzi)
      case( 20)
        r = allocated(s%alfaz)
      case( 21)
        r = allocated(s%alfau)
      case( 22)
        r = allocated(s%alfav)
      case( 23)
        r = allocated(s%sdist)
      case( 24)
        r = allocated(s%ndist)
      case( 39)
        r = allocated(s%xyzs01)
      case( 40)
        r = allocated(s%xyzs02)
      case( 41)
        r = allocated(s%xyzs03)
      case( 42)
        r = allocated(s%xyzs04)
      case( 45)
        r = allocated(s%zb)
      case( 46)
        r = allocated(s%zb0)
      case( 47)
        r = allocated(s%theta)
      case( 48)
        r = allocated(s%theta_s)
      case( 54)
        r = allocated(s%thetamean)
      case( 55)
        r = allocated(s%Fx)
      case( 56)
        r = allocated(s%Fy)
      case( 57)
        r = allocated(s%Sxy)
      case( 58)
        r = allocated(s%Syy)
      case( 59)
        r = allocated(s%Sxx)
      case( 60)
        r = allocated(s%n)
      case( 61)
        r = allocated(s%H)
      case( 62)
        r = allocated(s%cgx)
      case( 63)
        r = allocated(s%cgy)
      case( 64)
        r = allocated(s%cx)
      case( 65)
        r = allocated(s%cy)
      case( 66)
        r = allocated(s%ctheta)
      case( 67)
        r = allocated(s%ee)
      case( 68)
        r = allocated(s%thet)
      case( 69)
        r = allocated(s%costh)
      case( 70)
        r = allocated(s%sinth)
      case( 71)
        r = allocated(s%sigt)
      case( 72)
        r = allocated(s%rr)
      case( 73)
        r = allocated(s%cgx_s)
      case( 74)
        r = allocated(s%cgy_s)
      case( 75)
        r = allocated(s%ctheta_s)
      case( 76)
        r = allocated(s%ee_s)
      case( 77)
        r = allocated(s%thet_s)
      case( 78)
        r = allocated(s%costh_s)
      case( 79)
        r = allocated(s%sinth_s)
      case( 80)
        r = allocated(s%k)
      case( 81)
        r = allocated(s%c)
      case( 82)
        r = allocated(s%cg)
      case( 83)
        r = allocated(s%sigm)
      case( 84)
        r = allocated(s%wm)
      case( 85)
        r = allocated(s%hh)
      case( 86)
        r = allocated(s%zs)
      case( 87)
        r = allocated(s%zs0)
      case( 88)
        r = allocated(s%tideinpt)
      case( 89)
        r = allocated(s%tideinpz)
      case( 90)
        r = allocated(s%windinpt)
      case( 91)
        r = allocated(s%windvelts)
      case( 92)
        r = allocated(s%winddirts)
      case( 93)
        r = allocated(s%windxts)
      case( 94)
        r = allocated(s%windyts)
      case( 95)
        r = allocated(s%windsu)
      case( 96)
        r = allocated(s%windnv)
      case( 97)
        r = allocated(s%dzsdt)
      case( 98)
        r = allocated(s%dzsdx)
      case( 99)
        r = allocated(s%dzsdy)
      case(100)
        r = allocated(s%dzbdx)
      case(101)
        r = allocated(s%dzbdy)
      case(102)
        r = allocated(s%dzbdt)
      case(103)
        r = allocated(s%dzbnow)
      case(104)
        r = allocated(s%uu)
      case(105)
        r = allocated(s%vu)
      case(106)
        r = allocated(s%uv)
      case(107)
        r = allocated(s%vv)
      case(108)
        r = allocated(s%qx)
      case(109)
        r = allocated(s%qy)
      case(110)
        r = allocated(s%sedero)
      case(111)
        r = allocated(s%dcbdx)
      case(112)
        r = allocated(s%dcbdy)
      case(113)
        r = allocated(s%dcsdx)
      case(114)
        r = allocated(s%dcsdy)
      case(115)
        r = allocated(s%ui)
      case(116)
        r = allocated(s%vi)
      case(117)
        r = allocated(s%E)
      case(118)
        r = allocated(s%R)
      case(119)
        r = allocated(s%urms)
      case(120)
        r = allocated(s%D)
      case(121)
        r = allocated(s%Qb)
      case(122)
        r = allocated(s%ust)
      case(123)
        r = allocated(s%ueu)
      case(124)
        r = allocated(s%vev)
      case(125)
        r = allocated(s%vmagu)
      case(126)
        r = allocated(s%vmageu)
      case(127)
        r = allocated(s%vmagv)
      case(128)
        r = allocated(s%vmagev)
      case(129)
        r = allocated(s%u)
      case(130)
        r = allocated(s%v)
      case(131)
        r = allocated(s%ue)
      case(132)
        r = allocated(s%ve)
      case(133)
        r = allocated(s%hold)
      case(134)
        r = allocated(s%wetu)
      case(135)
        r = allocated(s%wetv)
      case(136)
        r = allocated(s%wetz)
      case(137)
        r = allocated(s%wete)
      case(138)
        r = allocated(s%hu)
      case(139)
        r = allocated(s%hv)
      case(140)
        r = allocated(s%hum)
      case(141)
        r = allocated(s%hvm)
      case(142)
        r = allocated(s%vmag)
      case(143)
        r = allocated(s%ccg)
      case(144)
        r = allocated(s%uwf)
      case(145)
        r = allocated(s%vwf)
      case(146)
        r = allocated(s%ustr)
      case(147)
        r = allocated(s%usd)
      case(148)
        r = allocated(s%bi)
      case(149)
        r = allocated(s%DR)
      case(150)
        r = allocated(s%umean)
      case(151)
        r = allocated(s%vmean)
      case(152)
        r = allocated(s%ur)
      case(154)
        r = allocated(s%D15)
      case(155)
        r = allocated(s%D50)
      case(156)
        r = allocated(s%D90)
      case(157)
        r = allocated(s%sedcal)
      case(158)
        r = allocated(s%ucrcal)
      case(159)
        r = allocated(s%Tsg)
      case(160)
        r = allocated(s%Susg)
      case(161)
        r = allocated(s%Svsg)
      case(162)
        r = allocated(s%Subg)
      case(163)
        r = allocated(s%Svbg)
      case(164)
        r = allocated(s%ceqbg)
      case(165)
        r = allocated(s%ceqsg)
      case(166)
        r = allocated(s%ua)
      case(167)
        r = allocated(s%BR)
      case(168)
        r = allocated(s%kb)
      case(169)
        r = allocated(s%Tbore)
      case(170)
        r = allocated(s%dzav)
      case(171)
        r = allocated(s%maxzs)
      case(172)
        r = allocated(s%minzs)
      case(173)
        r = allocated(s%L1)
      case(174)
        r = allocated(s%Sk)
      case(175)
        r = allocated(s%As)
      case(176)
        r = allocated(s%gwhead)
      case(177)
        r = allocated(s%gwheadb)
      case(178)
        r = allocated(s%gwlevel)
      case(179)
        r = allocated(s%gwheight)
      case(180)
        r = allocated(s%gwbottom)
      case(181)
        r = allocated(s%gwu)
      case(182)
        r = allocated(s%gwv)
      case(183)
        r = allocated(s%gwqx)
      case(184)
        r = allocated(s%gwqy)
      case(185)
        r = allocated(s%gww)
      case(186)
        r = allocated(s%gwcurv)
      case(187)
        r = allocated(s%dinfil)
      case(188)
        r = allocated(s%infil)
      case(189)
        r = allocated(s%gw0back)
      case(190)
        r = allocated(s%kturb)
      case(191)
        r = allocated(s%ero)
      case(192)
        r = allocated(s%depo_im)
      case(193)
        r = allocated(s%depo_ex)
      case(194)
        r = allocated(s%nd)
      case(195)
        r = allocated(s%pbbed)
      case(196)
        r = allocated(s%dzbed)
      case(197)
        r = allocated(s%z0bed)
      case(198)
        r = allocated(s%ureps)
      case(199)
        r = allocated(s%vreps)
      case(200)
        r = allocated(s%urepb)
      case(201)
        r = allocated(s%vrepb)
      case(202)
        r = allocated(s%umwci)
      case(203)
        r = allocated(s%vmwci)
      case(204)
        r = allocated(s%rolthick)
      case(205)
        r = allocated(s%zswci)
      case(206)
        r = allocated(s%pres)
      case(207)
        r = allocated(s%dU)
      case(208)
        r = allocated(s%dV)
      case(209)
        r = allocated(s%wb)
      case(210)
        r = allocated(s%ws)
      case(211)
        r = allocated(s%wscrit)
      case(212)
        r = allocated(s%bedfriccoef)
      case(213)
        r = allocated(s%taubx)
      case(214)
        r = allocated(s%tauby)
      case(215)
        r = allocated(s%Df)
      case(216)
        r = allocated(s%Dp)
      case(217)
        r = allocated(s%Sutot)
      case(218)
        r = allocated(s%Svtot)
      case(219)
        r = allocated(s%cctot)
      case(220)
        r = allocated(s%wi)
      case(221)
        r = allocated(s%dUi)
      case(222)
        r = allocated(s%zi)
      case(223)
        r = allocated(s%nuh)
      case(224)
        r = allocated(s%cf)
      case(225)
        r = allocated(s%cfu)
      case(226)
        r = allocated(s%cfv)
      case(227)
        r = allocated(s%D50top)
      case(228)
        r = allocated(s%D90top)
      case(229)
        r = allocated(s%structdepth)
      case(230)
        r = allocated(s%zs0fac)
      case(231)
        r = allocated(s%tdisch)
      case(232)
        r = allocated(s%pdisch)
      case(233)
        r = allocated(s%pntdisch)
      case(234)
        r = allocated(s%qdisch)
      case(235)
        r = allocated(s%idrift)
      case(236)
        r = allocated(s%jdrift)
      case(237)
        r = allocated(s%tdriftb)
      case(238)
        r = allocated(s%tdrifte)
      case(239)
        r = allocated(s%runup)
      case(240)
        r = allocated(s%Hrunup)
      case(241)
        r = allocated(s%xHrunup)
      case(242)
        r = allocated(s%istruct)
      case(243)
        r = allocated(s%iwl)
      case(244)
        r = allocated(s%strucslope)
      case(245)
        r = allocated(s%Dc)
      case(246)
        r = allocated(s%ph)
      case(248)
        r = allocated(s%dobs)
      case(249)
        r = allocated(s%sig2prior)
      case(250)
        r = allocated(s%zbobs)
      case(251)
        r = allocated(s%shobs)
      case(252)
        r = allocated(s%bwalpha)
      case(253)
        r = allocated(s%dcmdo)
      case(254)
        r = allocated(s%dassim)
      case(255)
        r = allocated(s%cobs)
      case(256)
        r = allocated(s%shipxCG)
      case(257)
        r = allocated(s%shipyCG)
      case(258)
        r = allocated(s%shipzCG)
      case(259)
        r = allocated(s%shipFx)
      case(260)
        r = allocated(s%shipFy)
      case(261)
        r = allocated(s%shipFz)
      case(262)
        r = allocated(s%shipMx)
      case(263)
        r = allocated(s%shipMy)
      case(264)
        r = allocated(s%shipMz)
      case(265)
        r = allocated(s%shipphi)
      case(266)
        r = allocated(s%shipchi)
      case(267)
        r = allocated(s%shippsi)
      case(268)
        r = allocated(s%Dveg)
      case(269)
        r = allocated(s%Fvegu)
      case(270)
        r = allocated(s%Fvegv)
      case(271)
        r = allocated(s%ududx)
      case(272)
        r = allocated(s%vdvdy)
      case(273)
        r = allocated(s%udvdx)
      case(274)
        r = allocated(s%vdudy)
      case(275)
        r = allocated(s%viscu)
      case(276)
        r = allocated(s%viscv)
      case(277)
        r = allocated(s%setbathy)
      case(278)
        r = allocated(s%tsetbathy)
      case(279)
        r = allocated(s%breaking)
!directions for vi vim: filetype=fortran : syntax=fortran
