Description Usage Arguments Value Examples
Simulates the horizontal distribution of the flow in grids based on the diffusivity.
1 |
h |
Initial head |
beta |
a parameter based on the diffusivity, time step and grid size. |
Returns the updated head.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # create synthetic head:
h <- cbind(c(1,2,3),c(4,5,6),c(7,8,9))
h
beta <- 0.5
h1 <- update_horizontally(h, beta)
h1
# increase the value of beta:
beta <- 1.0
h1 <- update_horizontally(h, beta)
# decrease the value of beta:
beta <- 0
h1 <- update_horizontally(h, beta)
h1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.