oomph::HelperForSortingVectorOfPairsOfVertexPtAndDouble Namespace Reference

Helper function. More...

Functions

bool less_than_based_on_double (std::pair< TetMeshVertex *, double > i, std::pair< TetMeshVertex *, double > j)
 Less than comparison based on double. More...
 

Detailed Description

Helper function.

Function Documentation

◆ less_than_based_on_double()

bool oomph::HelperForSortingVectorOfPairsOfVertexPtAndDouble::less_than_based_on_double ( std::pair< TetMeshVertex *, double i,
std::pair< TetMeshVertex *, double j 
)

Less than comparison based on double.

49  {
50  return (i.second<j.second);
51  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2

References i, and j.

Referenced by oomph::DiskWithTorusAroundEdgeTetMeshFacetedSurface::DiskWithTorusAroundEdgeTetMeshFacetedSurface().