atl_modg_scaledTransposedInvMassMatrix_P Subroutine

public subroutine atl_modg_scaledTransposedInvMassMatrix_P(nTotalElems, nDofs, nScalars, maxPolyDegree, nElems, state)

Applies a scaled transposed inverse of the mass matrix for a 3D scheme. The result is a transformation of the polynomial basis from the ansatz- to the test-polynomials. This is useful for a local predictor

Arguments

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

defines the dimensions of the state array

integer, intent(in) :: nDofs

defines the dimensions of the state array

integer, intent(in) :: nScalars

defines the dimensions of the state array

integer, intent(in) :: maxPolyDegree

polynomial degree of the modal dg scheme

integer, intent(in) :: nElems

number of elements to work with

real(kind=rk), intent(inout) :: state(nTotalElems,nDofs,nScalars)

the state to transform