get1DSliceIndices Module Function

pure module function get1DSliceIndices(this, indexSet, sliceIndex) result(val)

Return 1D slice indices of data at dimension given by sliceIndex and with the other indices set to indexSet

Arguments

Type IntentOptional Attributes Name
class(FlatNDData), intent(in) :: this
integer(kind=ik), intent(in), dimension(:) :: indexSet
integer(kind=ik), intent(in) :: sliceIndex

Return Value integer(kind=ik), allocatable, dimension(:)