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.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

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. |

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

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 |