Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 84 of file LocTraceToTraceMap.h.

Member Function Documentation

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

Definition at line 86 of file LocTraceToTraceMap.h.

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