update_vertically: Update the vertical flux components

Description Usage Arguments Value Examples

Description

Update the grids with net recharge and discharge, also computes the baseflow from each grid.

Usage

1
update_vertically(h, sy, net.recharge, p.baseflow, hmin.baseflow)

Arguments

h

Initial head raster

sy

Specific yield [0-1].

net.recharge

Net recharge (recharge - draft)

p.baseflow

parameter for the baseflow [0-1].

hmin.baseflow

head corresponding to zero baseflow.

Value

Returns a list containing the updated head and computed baseflow.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# create synthetic head and parameters
h <- 10
sy <- 0.01
net.recharge <- 1
p.baseflow <- 0.7
hmin.baseflow <- 5

# update the head and compute baseflow
out <- update_vertically(h, sy, net.recharge, p.baseflow, hmin.baseflow)
out

ambhasGW documentation built on May 2, 2019, 1:05 p.m.