Opm::Elasticity::BoundaryGrid::VertexLess Struct Reference

Predicate for sorting vertices. More...

#include <boundarygrid.hh>

Public Member Functions

 VertexLess (int comp)
 Default constructor. More...
 
bool operator() (const Vertex &q1, const Vertex &q2)
 The comparison operator. More...
 

Public Attributes

int dir
 Compare using this direction, if -1 compare using index values. More...
 

Detailed Description

Predicate for sorting vertices.

Constructor & Destructor Documentation

Opm::Elasticity::BoundaryGrid::VertexLess::VertexLess ( int  comp)
inline

Default constructor.

Parameters
[in]compDirection to use for comparison. -1 to use index

Member Function Documentation

bool Opm::Elasticity::BoundaryGrid::VertexLess::operator() ( const Vertex q1,
const Vertex q2 
)
inline

Member Data Documentation

int Opm::Elasticity::BoundaryGrid::VertexLess::dir

Compare using this direction, if -1 compare using index values.

Referenced by operator()().


The documentation for this struct was generated from the following file: