allocate a 1d array and fill it with 0s (double precision version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout), | allocatable | :: | array_(:) | ||
| integer(kind=int32), | intent(in) | :: | size_ |
allocate a 1d array and fill it with 0s (integer version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout), | allocatable | :: | array_(:) | ||
| integer(kind=int32), | intent(in) | :: | size_ |
allocate a 1d array and fill it with 0s (single precision version)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=sp), | intent(inout), | allocatable | :: | array_(:) | ||
| integer(kind=int32), | intent(in) | :: | size_ |