get1DSlice Interface

interface
private pure module function get1DSlice(this, indexSet, sliceIndex) result(val)

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 real(kind=rk),allocatable,dimension(:)

Description

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