24#ifndef SUPER_LOCAL_AVERAGE_2D_H
25#define SUPER_LOCAL_AVERAGE_2D_H
35template <
typename T,
typename W = T>
57 bool operator() (W output[],
const int input[])
override;
Smart pointer for managing the various ways of passing functors around.
represents all functors that operate on a SuperStructure<T,2> in general
Averages given functor inside the local sphere.
bool operator()(W output[], const int input[]) override
Returns average of functor _f evaluated on all cells both inside a sphere of _radius around input and...
SuperLocalAverage2D(FunctorPtr< SuperF2D< T > > &&f, FunctorPtr< SuperIndicatorF2D< T > > &&indicatorF, T radius)
Primary constructor.
Top level namespace for all of OpenLB.