ply_transfer_dofs_1D Subroutine

public subroutine ply_transfer_dofs_1D(indat, indegree, outdat, outdegree)

Transfer of degrees of freedom from one polynomial to another in 1D.

If the indat is larger than outdat, the higher modes are truncated. If outdat is larger, higher modes are padded with zeros.

Arguments

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

Input data to transfer to output data.

integer, intent(in) :: indegree

Degree of the input polynomial. There are indegree+1 modes expected in indat.

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

Output data to fill with input data.

integer, intent(in) :: outdegree

Degree of the output polynomial. There are outdegree+1 modes expected in outdat.