atl_modg_volToFace_P Subroutine

public subroutine atl_modg_volToFace_P(nTotalElems, nTotalFaces, nDofs, nFaceDofs, nScalars, volState, maxPolyDegree, faceDir, nElems, faceState)

Project modal representation of an element to one of its faces for P space.

Project modal representation of an element onto one of its faces. Therefore, this function returns the modal representation of the solution on the face. This function can project onto an arbitrary face direction.

Arguments

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

dimensions

integer, intent(in) :: nTotalFaces

dimensions

integer, intent(in) :: nDofs

dimensions

integer, intent(in) :: nFaceDofs

dimensions

integer, intent(in) :: nScalars

dimensions

real(kind=rk), intent(in) :: volState(nTotalElems,nDofs,nScalars)

The modal representation in the volume. First dimension is the number of voluemtrix numbers of degrees of freedom and second dimension is the number of scalar variables in the equation system.

integer, intent(in) :: maxPolyDegree

The maximal polynomial degree per spatial direction.

integer, intent(in) :: faceDir

The face to project the modal representation to. Use one of the first six directions of \link tem_param_module \endlink, e.g. \link tem_param_module::q__e \endlink

integer, intent(in) :: nElems

The number of elements

real(kind=rk), intent(inout) :: faceState(nTotalFaces,nFaceDofs,nScalars,2)

The modal representation on the face