View source: R/flownet_quadrilateral_old.R View source: R/flownet_quadrilateral.R
edges_quadrilateral | R Documentation |
Function returns all real nodes on the edges of a quadrilateral domain, as well as some key properties such as positions and a normal vector
Function returns all real nodes on the edges of a quadrilateral domain, as well as some key properties such as positions and a normal vector
edges_quadrilateral( nx, ny, x1, x2, x3, x4, y1, y2, y3, y4, i0 = 0, domain = 1, ... ) edges_quadrilateral( nx, ny, x1, x2, x3, x4, y1, y2, y3, y4, i0 = 0, domain = 1, ... )
nx, ny |
number of real nodes in a and b-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. |
i0 |
node offset |
domain |
domain identifier |
... |
additional arguments to pass |
tibble with all nodes on edges. Contains fields for the domain identifier ('domain'), edge ('edge', numbered clockwise), node index ('i'), row and column indices ('ix', 'iy'), the unit vector normal to the edge (positing towards the domain) ('vx', 'vy') and first order derivatives of position ('x_a', 'x_b', 'y_a', 'y_b')
tibble with all nodes on edges. Contains fields for the domain identifier ('domain'), edge ('edge', numbered clockwise), node index ('i'), row and column indices ('ix', 'iy'), the unit vector normal to the edge (positing towards the domain) ('vx', 'vy') and first order derivatives of position ('x_a', 'x_b', 'y_a', 'y_b')
nx <- 20 ny <- 10 x1 <- 0 x2 <- 0 x3 <- 1 x4 <- 1 y1 <- 0 y2 <- 1 y3 <- 2 y4 <- 0 edges_quadrilateral(nx, ny, x1, x2, x3, x4, y1, y2, y3, y4) nx <- 20 ny <- 10 x1 <- 0 x2 <- 0 x3 <- 1 x4 <- 1 y1 <- 0 y2 <- 1 y3 <- 2 y4 <- 0 edges_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.