sb_model_xs: Calculate slope break model cross section

Description Usage Arguments Details Value

Description

Calculate b(x) for the slope break model

Usage

1
sb_model_xs(x, z0, s1, s2, wsb, x0, xf)

Arguments

x

vector of x coordinates

z0

minimum bed elevation

s1

slope parameter of the first linear model

s2

slope parameter of the second linear model

wsb

width at the breakpoint

x0

minimum x value, default is 0

xf

maximum x value

Details

Runs in a loop, could be vectorized for speed

Value

b modeled bed elevation


jschap1/WSEw documentation built on May 12, 2019, 10:50 a.m.