ply_dofToQPoly Subroutine

private subroutine ply_dofToQPoly(dof, nDofs, ndims, xAnsFunc, yAnsFunc, zAnsFunc)

Subroutine to convert linearized dof index to ansatz function number for Q-Polynomials.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dof

The linearized degree of freedom index.

integer, intent(in) :: nDofs

The number of dofs for all directions.

integer, intent(in) :: ndims

The number of Dimensions in the polynomial representation.

integer, intent(out) :: xAnsFunc

The ansatz function number in x direction.

integer, intent(out) :: yAnsFunc

The ansatz function number in y direction.

integer, intent(out) :: zAnsFunc

The ansatz function number in z direction.