Go to the documentation of this file.   28      module procedure sort_exec_without_idx
    29      module procedure sort_exec_with_idxs
    30      module procedure sort_exec_with_idx
    31   end interface sort_exec
    50   subroutine sort_exec_with_idxs( &
    56     integer,  
intent(in)    :: npoints                
    57     real(RP), 
intent(inout) :: val  (npoints)         
    58     integer,  
intent(inout) :: idx_i(npoints)         
    59     integer,  
intent(inout) :: idx_j(npoints)         
    70        if ( val(n1) > val(n2) ) 
then    87   end subroutine sort_exec_with_idxs
    90   subroutine sort_exec_with_idx( &
    95     integer,  
intent(in)    :: npoints                
    96     real(RP), 
intent(inout) :: val  (npoints)         
    97     integer,  
intent(inout) :: index(npoints)         
   106     do n2 = n1+1, npoints
   107        if ( val(n1) > val(n2) ) 
then   111           index(n1) = index(n2)
   121   end subroutine sort_exec_with_idx
   124   subroutine sort_exec_without_idx( &
   129     integer,  
intent(in)    :: npoints                
   130     real(RP), 
intent(inout) :: val  (npoints)         
   138     do n2 = n1+1, npoints
   139        if ( val(n1) > val(n2) ) 
then   150   end subroutine sort_exec_without_idx