24#ifndef SUPER_DISCRETIZATION_F_2D_HH
25#define SUPER_DISCRETIZATION_F_2D_HH
33template <
typename T,
typename W>
38 :
SuperF2D<T, W>(f->getSuperStructure(),f->getTargetDim()), _f(f), _bottomBoundary(bottomBoundary), _topBoundary(topBoundary), _n(n)
40 this->
getName()=
"Discretization(" + _f->getName() +
")";
44 for (
int iC = 0; iC < load.
size(); ++iC) {
Block functor for discretizing values by an interval (bottomBoundary,topBoundary),...
Smart pointer for managing the various ways of passing functors around.
std::string & getName()
read and write access to name
Base class for all LoadBalancer.
SuperDiscretizationF2D(FunctorPtr< SuperF2D< T, W > > &&f, T bottomBoundary, T topBoundary, int n=1)
represents all functors that operate on a SuperStructure<T,2> in general
std::vector< std::unique_ptr< BlockF2D< W > > > _blockF
Super functors may consist of several BlockF2D<W> derived functors.
Top level namespace for all of OpenLB.