OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
olb::util::maxOp< T > Struct Template Reference

Wrapper function object for util::max. More...

#include <arithmetic.h>

+ Collaboration diagram for olb::util::maxOp< T >:

Public Member Functions

constexpr T operator() (const T &x, const T &y) const
 

Static Public Attributes

static const char symbol = 'M'
 symbol character for functor naming
 

Detailed Description

template<class T = void>
struct olb::util::maxOp< T >

Wrapper function object for util::max.

Definition at line 100 of file arithmetic.h.

Member Function Documentation

◆ operator()()

template<class T = void>
constexpr T olb::util::maxOp< T >::operator() ( const T & x,
const T & y ) const
inlineconstexpr

Definition at line 104 of file arithmetic.h.

104 {
105 return util::max(x, y);
106 }
cpu::simd::Pack< T > max(cpu::simd::Pack< T > rhs, cpu::simd::Pack< T > lhs)
Definition pack.h:130

References olb::util::max().

+ Here is the call graph for this function:

Member Data Documentation

◆ symbol

template<class T = void>
const char olb::util::maxOp< T >::symbol = 'M'
static

symbol character for functor naming

Definition at line 102 of file arithmetic.h.


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