Nektar++
Public Member Functions | List of all members
Nektar::MultiRegions::cmpop Struct Reference

#include <LocTraceToTraceMap.h>

Public Member Functions

bool operator() (TraceInterpPoints const &a, TraceInterpPoints const &b) const
 

Detailed Description

Definition at line 82 of file LocTraceToTraceMap.h.

Member Function Documentation

◆ operator()()

bool Nektar::MultiRegions::cmpop::operator() ( TraceInterpPoints const &  a,
TraceInterpPoints const &  b 
) const
inline

Definition at line 84 of file LocTraceToTraceMap.h.

86 {
87 if (std::get<0>(a) < std::get<0>(b))
88 {
89 return true;
90 }
91
92 if (std::get<0>(b) < std::get<0>(a))
93 {
94 return false;
95 }
96
97 if (std::get<1>(a) < std::get<1>(b))
98 {
99 return true;
100 }
101 if (std::get<1>(b) < std::get<1>(a))
102 {
103 return false;
104 }
105
106 if (std::get<2>(a) < std::get<2>(b))
107 {
108 return true;
109 }
110
111 if (std::get<2>(b) < std::get<2>(a))
112 {
113 return false;
114 }
115
116 if (std::get<3>(a) < std::get<3>(b))
117 {
118 return true;
119 }
120
121 return false;
122 }