Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Nektar::StdRegions::cmpop Struct Reference

#include <StdPyrExp.h>

Public Member Functions

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

Detailed Description

Definition at line 51 of file StdPyrExp.h.

Member Function Documentation

bool Nektar::StdRegions::cmpop::operator() ( Mode const &  a,
Mode const &  b 
) const
inline

Definition at line 53 of file StdPyrExp.h.

{
if (a.get<0>() < b.get<0>())
{
return true;
}
if (a.get<0>() > b.get<0>())
{
return false;
}
if (a.get<1>() < b.get<1>())
{
return true;
}
if (a.get<1>() > b.get<1>())
{
return false;
}
if (a.get<2>() < b.get<2>())
{
return true;
}
return false;
}