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

L1 norm functor implementation details. More...

#include <latticeIntegralCommon.h>

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

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, 1 >

L1 norm functor implementation details.

Definition at line 67 of file latticeIntegralCommon.h.

Member Function Documentation

◆ enclose()

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

Definition at line 72 of file latticeIntegralCommon.h.

73 {
74 return output;
75 }

◆ operator()()

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

Definition at line 68 of file latticeIntegralCommon.h.

69 {
70 return output + util::fabs(tmp)*weight;
71 }
cpu::simd::Pack< T > fabs(cpu::simd::Pack< T > value)
Definition pack.h:106

References olb::util::fabs().

+ Here is the call graph for this function:

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