Define MINLEVEL 7
Define DRY 1e-3

1 0 GfsRiver GfsBox GfsGEdge { x = 0.3333333 } {
    PhysicalParams { L = 60000 }

    # Set a solid boundary close to the top boundary to limit the
    # domain width to less than one cell (i.e. a 1D domain)
    RefineSolid (MINLEVEL + (LEVEL - MINLEVEL)*(1. - x/50000.))
    Solid (y - 60000.*(0.5 - 0.99/pow(2,LEVEL)))

    # Set the topography Zb and the initial water surface elevation P
    Init {} {
	Zb = -x/10.
	P = init.cgd
	P = MAX (0., P - Zb)
    }
    PhysicalParams { g = 9.81 }

    AdvectionParams {
	gradient = gfs_center_sweby_gradient
    }

    # Force the flow to stay 1D
    Init { istep = 10 } { V = 0 }

    Time { end = 220 }

    # OutputTime { istep = 10 } stderr
    OutputSimulation { start = 0 } sim-LEVEL-%g.txt { format = text }
    OutputSimulation { start = 160 } sim-LEVEL-%g.txt { format = text }
    OutputSimulation { start = 175 } sim-LEVEL-%g.txt { format = text }
    OutputSimulation { start = 220 } sim-LEVEL-%g.txt { format = text }
} {
    dry = DRY
    time_order = 2
}
GfsBox {
    left = Boundary
    right = Boundary
    top = Boundary
}