24#ifndef BLOCK_LOCAL_AVERAGE_2D_H
25#define BLOCK_LOCAL_AVERAGE_2D_H
39template <
typename T,
typename W = T>
60 bool operator() (W output[],
const int input[])
override;
represents all functors that operate on a cuboid in general, mother class of BlockLatticeF,...
Base block indicator functor (discrete)
Averages given functor inside the local sphere.
BlockLocalAverage2D(BlockF2D< W > &f, BlockIndicatorF2D< T > &indicatorF, T radius)
Primary constructor.
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...
Top level namespace for all of OpenLB.