MFEM v2.0
Classes | Functions
sort_pairs.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Pair< A, B >
 A pair of objects. More...

Functions

template<class A , class B >
int ComparePairs (const void *_p, const void *_q)
 Compare the first element of the pairs.
template<class A , class B >
void SortPairs (Pair< A, B > *pairs, int size)
 Sort with respect to the first element.

Function Documentation

template<class A , class B >
int ComparePairs ( const void *  _p,
const void *  _q 
)

Compare the first element of the pairs.

Definition at line 18 of file sort_pairs.cpp.

template<class A , class B >
void SortPairs ( Pair< A, B > *  pairs,
int  size 
)

Sort with respect to the first element.

Definition at line 31 of file sort_pairs.cpp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines