Contains module procedures associated with FlatNDData
Return shape of data stored
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlatNDData), | intent(in) | :: | this |
Return multidimensional value for given indexSet (should match array dimension)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlatNDData), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in), | dimension(:) | :: | indexSet |
Return 1D slice of data at dimension given by sliceIndex and with the other indices set to indexSet
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlatNDData), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in), | dimension(:) | :: | indexSet | ||
integer(kind=ik), | intent(in) | :: | sliceIndex |
Return 1D slice indices of data at dimension given by sliceIndex and with the other indices set to indexSet
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlatNDData), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in), | dimension(:) | :: | indexSet | ||
integer(kind=ik), | intent(in) | :: | sliceIndex |
Initializes the data based on a deferred rank input array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlatNDData), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(..) | :: | array |
Initializes the data based on an already flat array. Requires dimensions/shape to be explicitly passed
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlatNDData), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | array | ||
integer(kind=ik), | intent(in), | dimension(:) | :: | dims |