waLBerla 7.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
walberla::math::Vector3LexicographicalyLess< T > Struct Template Reference

Detailed Description

template<typename T>
struct walberla::math::Vector3LexicographicalyLess< T >

Functor providing a lexicographical ordering for Vector3.

Template Parameters
TDatatype of the compared Vector3's elements.

#include <Vector3.h>

Public Member Functions

bool operator() (const Vector3< T > &lhs, const Vector3< T > &rhs) const
 Provides a lexicographical less-than-operator for Vector3.
 

Member Function Documentation

◆ operator()()

template<typename T >
bool walberla::math::Vector3LexicographicalyLess< T >::operator() ( const Vector3< T > & lhs,
const Vector3< T > & rhs ) const
inline

Provides a lexicographical less-than-operator for Vector3.

Parameters
lhsleft hand side of less-than-operator.
rhsright hand side of less-than-operator.
Returns
true if lhs < rhs (lexicographically), else returns false.

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