ply_transfer_dofs Subroutine

public subroutine ply_transfer_dofs(indat, inspace, indegree, outdat, outspace, outdegree, ndims)

Small helping routine to wrap transfers in all allowed dimensions.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: indat(:)

Input data to transfer to output data.

integer, intent(in) :: inspace

Multi-dimensional polynomial layout of the input data.

Has to be either Q_space or P_space.

integer, intent(in) :: indegree

Maximal polynomial degree in the input data.

real(kind=rk), intent(out) :: outdat(:)

Output data to fill with input data.

integer, intent(in) :: outspace

Multi-dimensional polynomial layout of the output data.

Has to be either Q_space or P_space.

integer, intent(in) :: outdegree

Maximal polynomial degree in the output data.

integer, intent(in) :: ndims

Number of dimensions in the polynomials to transfer