ply_QPolyProjection Subroutine

public subroutine ply_QPolyProjection(subsamp, dofReduction, tree, meshData, varDofs, ndims, varcomps, refine_tree, new_refine_tree, newMeshData, newVarDofs)

Subsampling by L2-Projection of the Q-Tensorproduct Legendre polynomials.

Arguments

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

Parameters for the subsampling.

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

Factor for reducion of degrees of freedom.

type(treelmesh_type), intent(in) :: tree

The tree the data is written for.

type(ply_array_type), intent(in) :: meshData(:)

The data to sub-sample.

integer, intent(in) :: varDofs(:)

The number of degrees of freedom for each scalar variable.

integer, intent(in) :: ndims

Number of dimensions in the polynomial representation.

integer, intent(in) :: varcomps(:)

Number of components

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

Logical array that marks elements for refinement from the last sampling

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

Logical array that marks elements for refinment.

type(ply_array_type), intent(out), allocatable:: newMeshData(:)

The subsampled data.

integer, intent(out), allocatable:: newVarDofs(:)

The number of dofs for the subsampled dofs.


Calls

proc~~ply_qpolyprojection~~CallsGraph proc~ply_qpolyprojection ply_QPolyProjection proc~ply_subsampledata ply_subsampleData proc~ply_qpolyprojection->proc~ply_subsampledata proc~ply_initqlegprojcoeff ply_initQLegProjCoeff proc~ply_qpolyprojection->proc~ply_initqlegprojcoeff proc~tem_abort tem_abort proc~ply_qpolyprojection->proc~tem_abort proc~ply_projdatatochild ply_projDataToChild proc~ply_subsampledata->proc~ply_projdatatochild proc~ply_initqlegprojcoeff->proc~tem_abort proc~ply_qlegonedimcoeff ply_QLegOneDimCoeff proc~ply_initqlegprojcoeff->proc~ply_qlegonedimcoeff proc~ply_doftoqpoly ply_dofToQPoly proc~ply_initqlegprojcoeff->proc~ply_doftoqpoly proc~ply_legval ply_legVal proc~ply_qlegonedimcoeff->proc~ply_legval proc~ply_gauleg ply_gauleg proc~ply_qlegonedimcoeff->proc~ply_gauleg proc~ply_qlegsqnorm ply_QLegSqNorm proc~ply_qlegonedimcoeff->proc~ply_qlegsqnorm

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nChilds
integer, private :: nVars
integer, private :: nDofs
integer, private :: nComponents
integer, private :: iVar
type(ply_ProjCoeff_type), private :: projection
type(ply_ProjCoeff_type), private :: projection_oneDof
real(kind=rk), private, allocatable:: workDat(:)
real(kind=rk), private, allocatable:: newWorkDat(:)
integer, private :: nChildDofs
integer, private :: oneDof