Minsky
anonymous_namespace{interpolateHypercube.cc} Namespace Reference

Functions

bool sorted (civita::XVector::const_iterator begin, civita::XVector::const_iterator end)
 

Function Documentation

◆ sorted()

bool anonymous_namespace{interpolateHypercube.cc}::sorted ( civita::XVector::const_iterator  begin,
civita::XVector::const_iterator  end 
)

Definition at line 25 of file interpolateHypercube.cc.

Referenced by civita::InterpolateHC::bodyCentredNeighbourhood(), and civita::InterpolateHC::sortAndAdd().

26  {
27  civita::AnyLess less;
28  if (begin==end-1) return true;
29  for (; begin!=end-1; ++begin)
30  if (!less(*begin,*(begin+1)))
31  return false;
32  return true;
33  }
Here is the caller graph for this function: