MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
sort_pairs.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::Pair< A, B >
 A pair of objects. More...
 
class  mfem::Triple< A, B, C >
 A triple of objects. More...
 

Namespaces

namespace  mfem
 

Functions

template<class A , class B >
bool mfem::operator< (const Pair< A, B > &p, const Pair< A, B > &q)
 Comparison operator for class Pair, based on the first element only.
 
template<class A , class B >
bool mfem::operator== (const Pair< A, B > &p, const Pair< A, B > &q)
 Equality operator for class Pair, based on the first element only.
 
template<class A , class B >
void mfem::SortPairs (Pair< A, B > *pairs, int size)
 Sort an array of Pairs with respect to the first element.
 
template<class A , class B , class C >
bool mfem::operator< (const Triple< A, B, C > &p, const Triple< A, B, C > &q)
 Lexicographic comparison operator for class Triple.
 
template<class A , class B , class C >
void mfem::SortTriple (Triple< A, B, C > *triples, int size)
 Lexicographic sort for arrays of class Triple.