MFEM v2.0
|
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. |
int ComparePairs | ( | const void * | _p, |
const void * | _q | ||
) |
Compare the first element of the pairs.
Definition at line 18 of file sort_pairs.cpp.
void SortPairs | ( | Pair< A, B > * | pairs, |
int | size | ||
) |
Sort with respect to the first element.
Definition at line 31 of file sort_pairs.cpp.