Subroutine to unpack a flatarray after receiving
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ndarray), | intent(inout) | :: | this | |||
| real(kind=pfdp), | intent(in) | :: | z(:) | |||
| integer, | intent(in), | optional | :: | flags |
subroutine ndarray_unpack(this, z, flags)
class(ndarray), intent(inout) :: this
real(pfdp), intent(in ) :: z(:)
integer, intent(in ), optional :: flags
this%flatarray = z
end subroutine ndarray_unpack