Project modal representation of gradients of an element to one of its faces for Q space.
Project modal representation of gradient 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.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nScalars | |||
real(kind=rk), | intent(in) | :: | volState(:,:,:) | 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(in) | :: | elemLength | The lenght of an element |
||
real(kind=rk), | intent(inout) | :: | faceState(:,:,:,:) | The modal representation on the face |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | pos | ||||
integer, | private | :: | facePos | ||||
integer, | private | :: | iAnsX | ||||
integer, | private | :: | iAnsY | ||||
integer, | private | :: | iAnsZ | ||||
integer, | private | :: | leftOrRight | ||||
integer, | private | :: | iElem | ||||
integer, | private | :: | lb_x | ||||
integer, | private | :: | lb_y | ||||
integer, | private | :: | lb_z | ||||
integer, | private | :: | ub_x | ||||
integer, | private | :: | ub_y | ||||
integer, | private | :: | ub_z | ||||
real(kind=rk), | private | :: | faceVal | ||||
real(kind=rk), | private, | allocatable | :: | state_gradient(:,:,:) | |||
real(kind=rk), | private, | allocatable | :: | modalCoeffs(:,:) | |||
integer, | private | :: | mpd1 | ||||
integer, | private | :: | mpd1_square |