ply_projDataToChild Subroutine

private subroutine ply_projDataToChild(parentData, nParentDofs, nChildDofs, nComponents, nDimensions, nChilds, transform_matrix, childData)

Subroutine to project element data from a parent cell to its children.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: parentData(:)

The polynomial data for a single parent element.

integer, intent(in) :: nParentDofs

The number of dofs of the parent element.

integer, intent(in) :: nChildDofs

The total number of dofs for the child cells.

integer, intent(in) :: nComponents

The number of componentns for the given variable.

integer, intent(in) :: nDimensions

The number of dimensions.

integer, intent(in) :: nChilds

The number of child elements.

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

The transformation matrix for the linear coordinate transformation.

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

The new data representation for all child cell of the parent cell.