Truncating an oversampled 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 |
||
integer, | intent(in) | :: | nDim |
The number of dimensions to determine the correct oversampling routine. |
||
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. |