Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Nektar::Utilities::NodeComparator Struct Reference
Collaboration diagram for Nektar::Utilities::NodeComparator:
Collaboration graph
[legend]

Public Member Functions

 NodeComparator (const vector< int > &val_vec)
 
bool operator() (int i1, int i2)
 

Public Attributes

const vector< int > & value_vector
 

Detailed Description

Definition at line 171 of file PreProcessing.cpp.

Constructor & Destructor Documentation

Nektar::Utilities::NodeComparator::NodeComparator ( const vector< int > &  val_vec)
inline

Definition at line 175 of file PreProcessing.cpp.

175  :
176  value_vector(val_vec) {}
const vector< int > & value_vector

Member Function Documentation

bool Nektar::Utilities::NodeComparator::operator() ( int  i1,
int  i2 
)
inline

Definition at line 178 of file PreProcessing.cpp.

179  {
180  return value_vector[i1] > value_vector[i2];
181  }
const vector< int > & value_vector

Member Data Documentation

const vector<int>& Nektar::Utilities::NodeComparator::value_vector

Definition at line 173 of file PreProcessing.cpp.