OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::LpNormImpl< T, W, 0 > Struct Template Reference

Linf norm functor implementation details. More...

#include <latticeIntegralCommon.h>

+ Collaboration diagram for olb::LpNormImpl< T, W, 0 >:

Public Member Functions

operator() (W output, W tmp, T weight)
 
enclose (W output)
 

Detailed Description

template<typename T, typename W>
struct olb::LpNormImpl< T, W, 0 >

Linf norm functor implementation details.

Definition at line 54 of file latticeIntegralCommon.h.

Member Function Documentation

◆ enclose()

template<typename T , typename W >
W olb::LpNormImpl< T, W, 0 >::enclose ( W output)
inline

Definition at line 59 of file latticeIntegralCommon.h.

60 {
61 return output;
62 }

◆ operator()()

template<typename T , typename W >
W olb::LpNormImpl< T, W, 0 >::operator() ( W output,
W tmp,
T weight )
inline

Definition at line 55 of file latticeIntegralCommon.h.

56 {
57 return util::max(output, util::fabs(tmp));
58 }
cpu::simd::Pack< T > max(cpu::simd::Pack< T > rhs, cpu::simd::Pack< T > lhs)
Definition pack.h:130
cpu::simd::Pack< T > fabs(cpu::simd::Pack< T > value)
Definition pack.h:106

References olb::util::fabs(), and olb::util::max().

+ Here is the call graph for this function:

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