View source: R/flownet_quadrilateral_old.R View source: R/flownet_quadrilateral.R
positions_real_quadrilateral | R Documentation |
Generate positions of all real nodes in a quadrilateral domain, both in terms of normalised positions a and b, and actual positions x and y
Generate positions of all real nodes in a quadrilateral domain, both in terms of normalised positions a and b, and actual positions x and y
positions_real_quadrilateral( nx, ny, x1, x2, x3, x4, y1, y2, y3, y4, domain = 1, i0 = 0, ... ) positions_real_quadrilateral( nx, ny, x1, x2, x3, x4, y1, y2, y3, y4, domain = 1, i0 = 0, ... )
nx, ny |
number of real nodes in x and y directions |
x1, x2, x3, x4, y1, y2, y3, y4 |
x and y positions of the corner points of the quadrilateral. Corners are numbered in clockwise order. |
domain |
domain identifier |
i0 |
optional index numbering offset |
... |
additional arguments to pass |
a tibble with positions, e.g. 'a', 'b', 'x', 'y' as well as 1st and 2nd order derivatives of positions (e.g. 'x_a', 'y_bb')
a tibble with positions, e.g. 'a', 'b', 'x', 'y' as well as 1st and 2nd order derivatives of positions (e.g. 'x_a', 'y_bb')
nx <- 4 ny <- 3 x1 <- 0 x2 <- 0 x3 <- 1 x4 <- 1 y1 <- 0 y2 <- 1 y3 <- 2 y4 <- 0 positions_real_quadrilateral(nx, ny, x1, x2, x3, x4, y1, y2, y3, y4) nx <- 4 ny <- 3 x1 <- 0 x2 <- 0 x3 <- 1 x4 <- 1 y1 <- 0 y2 <- 1 y3 <- 2 y4 <- 0 positions_real_quadrilateral(nx, ny, x1, x2, x3, x4, y1, y2, y3, y4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.