set_momentIndices Subroutine

public subroutine set_momentIndices(nDims, iPress, iVelMin, iVelMax, iSMin, iSMax)

set indices for accessing the pressure, velocity and the shear from a 1d vector

Arguments

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

number of dimensions

integer, intent(out) :: iPress

index for the pressure / density

integer, intent(out) :: iVelMin

starting index for velocity

integer, intent(out) :: iVelMax

ending index for velocity

integer, intent(out) :: iSMin

starting index for shear

integer, intent(out) :: iSMax

ending index for shear


Contents