ply_subsampleData Subroutine

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


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.


proc~~ply_subsampledata~2~~CallsGraph proc~ply_subsampledata~2 ply_subsampleData proc~ply_projdatatochild~2 ply_projDataToChild proc~ply_subsampledata~2->proc~ply_projdatatochild~2 proc~ply_transform_matrix ply_transform_matrix proc~ply_subsampledata~2->proc~ply_transform_matrix proc~ply_beta ply_beta proc~ply_transform_matrix->proc~ply_beta proc~ply_alpha_beta ply_alpha_beta proc~ply_transform_matrix->proc~ply_alpha_beta proc~ply_alpha ply_alpha proc~ply_transform_matrix->proc~ply_alpha proc~ply_alpha_frac ply_alpha_frac proc~ply_transform_matrix->proc~ply_alpha_frac

Called by

proc~~ply_subsampledata~2~~CalledByGraph proc~ply_subsampledata~2 ply_subsampleData proc~ply_poly_transformation ply_Poly_Transformation proc~ply_poly_transformation->proc~ply_subsampledata~2



integer, private :: nChilds
integer, private :: nElems
integer, private :: nElemsToRefine
integer, private :: nElemsNotToRefine
integer, private :: nParentElems
integer, private :: childPos
integer, private :: lowElemIndex
integer, private :: upElemIndex
integer, private :: iParentElem
integer, private :: iChild
integer, private :: iElem
integer, private :: upChildIndex
integer, private :: lowChildIndex
integer, private :: oneDof
integer, private :: noChilds
integer, private :: max_modes
real(kind=rk), private, allocatable:: transform_matrix(:,:)
real(kind=rk), private, allocatable:: childData(:)