nlsb_model_xs: Calculate NLSB model cross section

Description Usage Arguments Details Value

Description

Calculate b(x) for the nonlinear slope break model

Usage

1
nlsb_model_xs(x, z0, a1, a2, s1, s2, wsb, x0, xf)

Arguments

x

vector of x coordinates

z0

minimum bed elevation

a1

multiplicative parameter of the first nonlinear model

a2

multiplicative parameter of the second nonlinear model

s1

exponent of the first nonlinear model

s2

exponent of the second nonlinear 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.