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

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

#include <arithmetic.h>

+ Collaboration diagram for olb::util::minOp< 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::minOp< T >

Wrapper function object for util::min.

Definition at line 123 of file arithmetic.h.

Member Function Documentation

◆ operator()()

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

Definition at line 127 of file arithmetic.h.

127 {
128 return util::min(x, y);
129 }
cpu::simd::Pack< T > min(cpu::simd::Pack< T > rhs, cpu::simd::Pack< T > lhs)
Definition pack.h:124

References olb::util::min().

+ Here is the call graph for this function:

Member Data Documentation

◆ symbol

template<class T = void>
const char olb::util::minOp< T >::symbol = 'm'
static

symbol character for functor naming

Definition at line 125 of file arithmetic.h.


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