ug4
lexorder_comparators.cpp File Reference

Namespaces

 ug
 the ug namespace
 

Functions

template<int dim, size_t orderDim>
bool ug::ComparePosDim (const std::pair< MathVector< dim >, size_t > &p1, const std::pair< MathVector< dim >, size_t > &p2)
 
template<>
bool ug::ComparePosDim< 1, 0 > (const std::pair< MathVector< 1 >, size_t > &p1, const std::pair< MathVector< 1 >, size_t > &p2)
 
template<>
bool ug::ComparePosDim< 2, 0 > (const std::pair< MathVector< 2 >, size_t > &p1, const std::pair< MathVector< 2 >, size_t > &p2)
 
template<>
bool ug::ComparePosDim< 2, 1 > (const std::pair< MathVector< 2 >, size_t > &p1, const std::pair< MathVector< 2 >, size_t > &p2)
 
template<>
bool ug::ComparePosDim< 3, 0 > (const std::pair< MathVector< 3 >, size_t > &p1, const std::pair< MathVector< 3 >, size_t > &p2)
 
template<>
bool ug::ComparePosDim< 3, 1 > (const std::pair< MathVector< 3 >, size_t > &p1, const std::pair< MathVector< 3 >, size_t > &p2)
 
template<>
bool ug::ComparePosDim< 3, 2 > (const std::pair< MathVector< 3 >, size_t > &p1, const std::pair< MathVector< 3 >, size_t > &p2)
 
template<int dim, size_t orderDim>
bool ug::ComparePosDimDec (const std::pair< MathVector< dim >, size_t > &p1, const std::pair< MathVector< dim >, size_t > &p2)
 
template<>
bool ug::ComparePosDimDec< 1, 0 > (const std::pair< MathVector< 1 >, size_t > &p1, const std::pair< MathVector< 1 >, size_t > &p2)
 
template<>
bool ug::ComparePosDimDec< 2, 0 > (const std::pair< MathVector< 2 >, size_t > &p1, const std::pair< MathVector< 2 >, size_t > &p2)
 
template<>
bool ug::ComparePosDimDec< 2, 1 > (const std::pair< MathVector< 2 >, size_t > &p1, const std::pair< MathVector< 2 >, size_t > &p2)
 
template<>
bool ug::ComparePosDimDec< 3, 0 > (const std::pair< MathVector< 3 >, size_t > &p1, const std::pair< MathVector< 3 >, size_t > &p2)
 
template<>
bool ug::ComparePosDimDec< 3, 1 > (const std::pair< MathVector< 3 >, size_t > &p1, const std::pair< MathVector< 3 >, size_t > &p2)
 
template<>
bool ug::ComparePosDimDec< 3, 2 > (const std::pair< MathVector< 3 >, size_t > &p1, const std::pair< MathVector< 3 >, size_t > &p2)