Type defining an array of consecutive integer numbers, useful as indices in arrays.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | allocatable | :: | indices(:) |
Constructor for the index_array type
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | length |
Type bound procedure that finds and pack all the array indices according to the given mask
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(index_array), | intent(inout) | :: | index_in | |||
| logical, | intent(in) | :: | mask(:) |