Routine to subsample mesh information for one refinement level.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(in) | :: | tree |
The tree the data is written for. |
||
real(kind=rk), | intent(in) | :: | meshData(:) |
The data to sub-sample. |
||
integer, | intent(in) | :: | nDofs |
The number of degrees of freedom for each scalar variable. |
||
integer, | intent(in) | :: | nChildDofs |
The number of degrees of freedom per scalar variable on the child elements. |
||
integer, | intent(in) | :: | nComponents |
Number of components |
||
type(ply_ProjCoeff_type), | intent(in) | :: | projection |
Projection coefficients for the given data. |
||
type(ply_ProjCoeff_type), | intent(in), | optional | :: | projection_oneDof |
Projection coeffiecients for the the reduction to polynomial degree of 0. |
|
logical, | intent(in), | optional | :: | refine_tree(:) |
Logical array that marks all elements for refinement from the last sampling lvl. |
|
logical, | intent(in) | :: | new_refine_tree(:) |
Logical array that marks all elements for refinement |
||
integer, | intent(in) | :: | ndims |
The number of dimensions in the polynomial representation. |
||
type(ply_subsample_type), | intent(in) | :: | subsamp |
Parameters for the subsampling. |
||
real(kind=rk), | intent(out), | allocatable | :: | newMeshData(:) |
The subsampled data. |