EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | List of all members
EBGeometry::GPU::Ascending Struct Reference

The order operator< gives, as a trivially copyable functor callable on a device. More...

#include <EBGeometry_GPUAlgorithms.hpp>

Public Member Functions

template<class Key >
bool operator() (const Key &a_lhs, const Key &a_rhs) const noexcept
 Whether a_lhs sorts before a_rhs.
 

Detailed Description

The order operator< gives, as a trivially copyable functor callable on a device.

Member Function Documentation

◆ operator()()

template<class Key >
bool EBGeometry::GPU::Ascending::operator() ( const Key &  a_lhs,
const Key &  a_rhs 
) const
inlinenoexcept

Whether a_lhs sorts before a_rhs.

Template Parameters
KeyKey type, with operator<.
Parameters
[in]a_lhsLeft key.
[in]a_rhsRight key.
Returns
a_lhs < a_rhs.

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