grid_implementation Submodule

The implementation of the interfaces defined in grid.


Uses

  • module~~grid_implementation~~UsesGraph module~grid_implementation grid_implementation module~grid grid module~grid_implementation->module~grid module~element element module~grid->module~element module~grid_function grid_function module~grid->module~grid_function module~kinds kinds module~grid->module~kinds module~element->module~kinds module~grid_function->module~element module~grid_function->module~kinds

Contents


Subroutines

subroutine Jacobian(n, vx, r, dr, x, xr, rx)

Routine that sets up the physical coordinates as well as the Jacobian and inverse Jacobian to convert derivatives between reference element and physical element.

Read more…

Arguments

Type IntentOptional AttributesName
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 .


Module Procedures

module procedure init_grid_coordinates module subroutine init_grid_coordinates(relem)

Arguments

Type IntentOptional AttributesName
type(ref_element), intent(in) :: relem

The reference element of the DG elements that is the building block for grid functions.