ply_convertFromOversample_2d Subroutine

private subroutine ply_convertFromOversample_2d(modalCoeffs, poly_proj, state, nScalars)

Truncating an oversampled 2D polynomial representation back to the original representation.

Note, that the oversampled array, which is given as an input here is is always a Q-Polynomial representation, while the target truncated state might also be a P-Polynomial.


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

Oversampled modal array for one element

type(ply_poly_project_type), intent(in) :: poly_proj

Data of the projection method

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

Truncated state for one element obtained from the modalCoeffs

integer, intent(in), optional :: nScalars

The number of scalar variables to convert. If nScalars is not passed to this subroutine, all variables of argument state will be considered by this routine.

Called by

proc~~ply_convertfromoversample_2d~~CalledByGraph proc~ply_convertfromoversample_2d ply_convertFromOversample_2d proc~ply_convertfromoversample ply_convertFromOversample proc~ply_convertfromoversample->proc~ply_convertfromoversample_2d proc~create_target create_target proc~create_target->proc~ply_convertfromoversample proc~traverse_tree traverse_tree proc~traverse_tree->proc~create_target proc~traverse_tree->proc~traverse_tree proc~sdr_proto2treelm sdr_proto2treelm proc~sdr_proto2treelm->proc~traverse_tree



integer, private :: oversamp_degree
integer, private :: mpd1
integer, private :: mpd1_square
integer, private :: iDegX
integer, private :: iDegY
integer, private :: iDegZ
integer, private :: idof
integer, private :: dof
integer, private :: dofOverSamp
integer, private :: nPVars