Create block from array, array can be n-dimensional.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(block_nd), | intent(out) | :: | block | |||
integer, | intent(in), | DIMENSION(:) | :: | sizes | ||
real(kind=real_4), | intent(in), | DIMENSION(PRODUCT(sizes)) | :: | array |