Skip to content

Commit

Permalink
Expanded util_search to work with single column arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 3, 2017
1 parent 388cf10 commit 24f33cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/util/module_util.f90
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ subroutine util_search_double(arr,ind,n,val,k)
real(DP),intent(in) :: val
integer(I4B),intent(out) :: k
end subroutine util_search_double

subroutine util_search_double_1(arr,ind,n,val,k)
use module_globals
implicit none
integer(I4B),intent(in) :: ind,n
real(DP),dimension(:),intent(in) :: arr
real(DP),intent(in) :: val
integer(I4B),intent(out) :: k
end subroutine util_search_double_1

subroutine util_search_int(arr,ind,n,val,k)
use module_globals
Expand Down

0 comments on commit 24f33cb

Please sign in to comment.