Neko  0.8.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 79 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 952 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 894 of file math.f90.


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