24#ifndef SUPER_AVERAGE_2D_H
25#define SUPER_AVERAGE_2D_H
36template <
typename T,
typename W = T>
68 bool operator() (W output[],
const int input[])
override;
Smart pointer for managing the various ways of passing functors around.
SuperAverage2D returns the average in each component of f on a indicated subset.
bool operator()(W output[], const int input[]) override
Global average operator.
SuperAverage2D(FunctorPtr< SuperF2D< T, W > > &&f, FunctorPtr< SuperIndicatorF2D< T > > &&indicatorF)
Constructor for determining the average of f on a indicated subset.
represents all functors that operate on a SuperStructure<T,2> in general
Representation of a statistic for a parallel 2D geometry.
Top level namespace for all of OpenLB.