Neko  0.9.99
A portable framework for high-order spectral element flow simulations
math::sort Interface Reference

Private Member Functions

subroutine sortrp (a, ind, n)
 Heap Sort for double precision arrays. More...
 
subroutine sorti4 (a, ind, n)
 Heap Sort for single integer arrays. More...
 

Detailed Description

Definition at line 82 of file math.f90.

Member Function/Subroutine Documentation

◆ sorti4()

subroutine math::sort::sorti4 ( integer(i4), dimension(n), intent(inout)  a,
integer, dimension(n), intent(out)  ind,
integer, intent(in)  n 
)
private

Following p 231 Num. Rec., 1st Ed.

Parameters
[in,out]avector to be sorted
[out]indpermutation array
[in]narray size

Definition at line 997 of file math.f90.

◆ sortrp()

subroutine math::sort::sortrp ( real(kind=rp), dimension(n), intent(inout)  a,
integer, dimension(n), intent(out)  ind,
integer, intent(in)  n 
)
private

Following p 231 Num. Rec., 1st Ed.

Parameters
[in,out]avector to be sorted
[out]indpermutation array
[in]narray size

Definition at line 939 of file math.f90.


The documentation for this interface was generated from the following file: