View source: R/flownet_quadrilateral_old.R View source: R/flownet_quadrilateral.R
position_xy_quadrilateral | R Documentation |
Function calculates the x and y positions of nodes in a quadrilateral grid based on their a and b positions. The derivatives of x and y with respect to a and b are also returned
Function calculates the x and y positions of nodes in a quadrilateral grid based on their a and b positions. The derivatives of x and y with respect to a and b are also returned
position_xy_quadrilateral(a, b, x1, x2, x3, x4, y1, y2, y3, y4, ...) position_xy_quadrilateral(a, b, x1, x2, x3, x4, y1, y2, y3, y4, ...)
a, b |
arrays with quadrilateral positions |
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. |
... |
additional arguments |
a tibble with fields for position 'x' and 'y', as well as 1st order derivatives ('x_a', 'x_b', 'y_a', 'y_b') and second order derivatives ('x_aa', 'x_bb', 'x_ab', 'y_aa', 'y_bb', 'y_ab')
a tibble with fields for position 'x' and 'y', as well as 1st order derivatives ('x_a', 'x_b', 'y_a', 'y_b') and second order derivatives ('x_aa', 'x_bb', 'x_ab', 'y_aa', 'y_bb', 'y_ab')
a <- c(0, 0.5, 1) b <- c(0, 0.5, 1) x1 <- 0 x2 <- 0 x3 <- 1 x4 <- 1 y1 <- 0 y2 <- 1 y3 <- 2 y4 <- 0 position_xy_quadrilateral(a, b, x1, x2, x3, x4, y1, y2, y3, y4) a <- c(0, 0.5, 1) b <- c(0, 0.5, 1) x1 <- 0 x2 <- 0 x3 <- 1 x4 <- 1 y1 <- 0 y2 <- 1 y3 <- 2 y4 <- 0 position_xy_quadrilateral(a, b, 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.