24#ifndef LATTICE_INTEGRAL_COMMON_H
25#define LATTICE_INTEGRAL_COMMON_H
34template <
typename T,
typename W,
int P>
36 inline W
operator()(W output, W tmp, T weight);
40template <
typename T,
typename W,
int P>
46template <
typename T,
typename W,
int P>
53template <
typename T,
typename W>
66template <
typename T,
typename W>
79template <
typename T,
typename W>
83 return output + tmp*tmp*weight;
cpu::simd::Pack< T > sqrt(cpu::simd::Pack< T > value)
cpu::simd::Pack< T > max(cpu::simd::Pack< T > rhs, cpu::simd::Pack< T > lhs)
cpu::simd::Pack< T > pow(cpu::simd::Pack< T > base, cpu::simd::Pack< T > exp)
cpu::simd::Pack< T > fabs(cpu::simd::Pack< T > value)
Top level namespace for all of OpenLB.
W operator()(W output, W tmp, T weight)
W operator()(W output, W tmp, T weight)
W operator()(W output, W tmp, T weight)
Lp norm functor implementation details specific to the P parameter.
W operator()(W output, W tmp, T weight)