ReMKiT1D
Documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
findIndicesVector
Module Function
6 statements
Source File
support_functions_procedures.f90
support_functions_procedures
findIndicesVector
Contents
pure module function findIndicesVector(mask) result(indices)
Find locations of .true. values in logical mask of rank 1
Arguments
Type
Intent
Optional
Attributes
Name
logical,
intent(in),
dimension(:)
::
mask
Return Value
integer(kind=ik), dimension(:), allocatable