ply_change_poly_space Subroutine

public subroutine ply_change_poly_space(inspace, instate, outstate, maxPolyDeg, nElems, nVars, nDims)

Subroutine to change the polynomial space (Q or P) of an atl_statedata_type from Q-space to P-space and vice versa.


integer, intent(in) :: inspace

Polynomial space of the input state (P_sapce or Q_space)

real(kind=rk), intent(in) :: instate(:,:,:)

States of the variables of the input in polynomial space as prescribed in inspace.

real(kind=rk), intent(inout) :: outstate(:,:,:)

States of the variables of the output.

integer, intent(in) :: maxPolyDeg
integer, intent(in) :: nElems
integer, intent(in) :: nVars
integer, intent(in) :: nDims



integer, private :: iElem
integer, private :: iVar
integer, private :: iAnsX
integer, private :: iAnsY
integer, private :: iAnsZ
integer, private :: P_pos
integer, private :: Q_pos