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

Private Member Functions

subroutine swapdp (b, ind, n)
 sort double precision array acording to ind vector More...
 
subroutine swapi4 (b, ind, n)
 sort single integer array acording to ind vector More...
 

Detailed Description

Definition at line 86 of file math.f90.

Member Function/Subroutine Documentation

◆ swapdp()

subroutine math::swap::swapdp ( real(kind=rp), dimension(n), intent(inout)  b,
integer, dimension(n), intent(in)  ind,
integer, intent(in)  n 
)
private
Parameters
[in,out]bvector to be reordered
[in]indpermutation array
[in]narray size

Definition at line 1053 of file math.f90.

◆ swapi4()

subroutine math::swap::swapi4 ( integer(i4), dimension(n), intent(inout)  b,
integer, dimension(n), intent(in)  ind,
integer, intent(in)  n 
)
private
Parameters
[in,out]bvector to be reordered
[in]indpermutation array
[in]narray size

Definition at line 1073 of file math.f90.


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