24#ifndef BLOCK_AVERAGE_2D_H
25#define BLOCK_AVERAGE_2D_H
35template <
typename T,
typename W = T>
40 bool operator() (W output[],
const int input[])
override;
BlockAverage2D returns the average in each component of f on a indicated subset.
BlockAverage2D(BlockF2D< W > &f, BlockIndicatorF2D< T > &indicatorF)
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)
BlockSum2D sums all components of f over a indicated subset.
The description of a single 2D cuboid – header file.
Top level namespace for all of OpenLB.