d(ECg)/dx=0 outside the surf zone, where Cg is the group
speed; inside the surf zone the wave height H=rD, where
r=0.83. Under these assumptions, the wave setdown appears
outside the surf zone and setup appears inside the
surf zone with the functions