Efficiently set arrays to zero
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
real(kind=wp), | intent(out), | dimension(ni) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
integer, | intent(in) | :: | nj | |||
real(kind=wp), | intent(out), | dimension(ni, nj) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
integer, | intent(in) | :: | nj | |||
integer, | intent(in) | :: | nk | |||
real(kind=wp), | intent(out), | dimension(ni, nj, nk) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
integer, | intent(in) | :: | nj | |||
integer, | intent(in) | :: | nk | |||
integer, | intent(in) | :: | nl | |||
real(kind=wp), | intent(out), | dimension(ni, nj, nk, nl) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
real(kind=wp), | intent(out), | dimension(ni) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
integer, | intent(in) | :: | nj | |||
real(kind=wp), | intent(out), | dimension(ni, nj) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
integer, | intent(in) | :: | nj | |||
integer, | intent(in) | :: | nk | |||
real(kind=wp), | intent(out), | dimension(ni, nj, nk) | :: | array |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ni | |||
integer, | intent(in) | :: | nj | |||
integer, | intent(in) | :: | nk | |||
integer, | intent(in) | :: | nl | |||
real(kind=wp), | intent(out), | dimension(ni, nj, nk, nl) | :: | array |