The implementation of the interfaces defined in grid.
Routine that sets up the physical coordinates as well as the Jacobian and inverse Jacobian to convert derivatives between reference element and physical element.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=ip), | intent(in) | :: | n | The order of the element. |
||
real(kind=wp), | intent(in), | dimension(2) | :: | vx | The physical coordinates of the left and right boundary of the element. |
|
real(kind=wp), | intent(in), | dimension(n+1) | :: | r | The node locations inside the reference element, . |
|
real(kind=wp), | intent(in), | dimension(n+1,n+1) | :: | dr | The derivative matrix for the reference element, . |
|
real(kind=wp), | intent(out), | dimension(n+1) | :: | x | On output the physical coordinates of the nodes of the element, . |
|
real(kind=wp), | intent(out), | dimension(n+1) | :: | xr | On output contains . |
|
real(kind=wp), | intent(out), | dimension(n+1) | :: | rx | On output contains . |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ref_element), | intent(in) | :: | relem | The reference element of the DG elements that is the building block for grid functions. |