ply_subsampleData Subroutine

private subroutine ply_subsampleData(mesh, meshData, nDofs, nChildDofs, nComponents, refine_tree, new_refine_tree, nDims, subsamp, newMeshData)

Arguments

Type IntentOptional Attributes Name
type(treelmesh_type), intent(in) :: mesh

The mesh for the data.

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

The data to subsample

integer, intent(in) :: nDofs

The number of degrees of freedom.

integer, intent(in) :: nChildDofs

The number of degrees of freedom for the child elements.

integer, intent(in) :: nComponents

Number of Components.

logical, intent(in) :: refine_tree(:)

Logical array that marks all elements for refinement for the previous sampling level.

logical, intent(in) :: new_refine_tree(:)

Logical array that marks all elements for refinement for the current sampling level.

integer, intent(in) :: nDims

The number of dimensions in the polynomial representation.

type(ply_subsample_type), intent(in) :: subsamp

Parameters for subsampling.

real(kind=rk), intent(out), allocatable :: newMeshData(:)

The subsampled Data.