24#ifndef BLOCK_INDICATOR_BASE_F_2D_HH
25#define BLOCK_INDICATOR_BASE_F_2D_HH
35 _blockGeometryStructure(geometry),
42 return _blockGeometryStructure;
49 if (_cachedData ==
nullptr) {
50 this->operator()(&output, input);
53 _cachedData->get(input);
61 int latticeR[2] { iX, iY };
62 return this->operator()(latticeR);
68 return operator()(loc[0], loc[1]);
Representation of the 2D block geometry view – header file.
represents all functors that operate on a cuboid in general, mother class of BlockLatticeF,...
Representation of a block geometry.
bool operator()(const int input[])
Block indicator specific function operator overload.
BlockGeometry< T, 2 > & getBlockGeometry()
Get underlying block geometry structure.
void setCache(const BlockData< 2, T, bool > &cache)
Set bool-mask cache to be used by indicator operator overloads.
virtual bool isEmpty()
Returns true only if the indicated domain subset is empty.
BlockIndicatorF2D(BlockGeometry< T, 2 > &geometry)
Top level namespace for all of OpenLB.