FEDEM Solver  R8.0
Source code of the dynamics solver
Modules | Functions/Subroutines
searchAndSortModule.f90 File Reference

Utilities for searching and sorting of arrays. More...

Modules

module  searchandsortmodule
 Module with subroutines for searching and sorting of arrays.
 

Functions/Subroutines

subroutine searchandsortmodule::findmaxrealvalues (values, indMax, valMax, ierr)
 Finds indices of the largest values in the given real array. More...
 
subroutine searchandsortmodule::quicksortint (values, indval, ierr)
 Sorts an integer array in increasing order. More...
 
recursive subroutine, private searchandsortmodule::quicksortintarray (indexArray, valueArray, lIndex, rIndex)
 Sorts an integer array in increasing order. More...
 
subroutine swapint (a, b)
 Swaps the contents of two integer variables. More...
 

Detailed Description

Utilities for searching and sorting of arrays.

Function/Subroutine Documentation

◆ swapint()

subroutine quicksortintarray::swapint ( integer, intent(inout)  a,
integer, intent(inout)  b 
)

Swaps the contents of two integer variables.