24#ifndef SUPER_ROUNDING_F_2D_HH
25#define SUPER_ROUNDING_F_2D_HH
33template <
typename T,
typename W>
36 :
SuperF2D<T, W>(f->getSuperStructure(),f->getTargetDim()), _f(f), _rounding(rounding)
38 this->
getName()=
"Rounding(" + _f->getName() +
")";
42 for (
int iC = 0; iC < load.
size(); ++iC) {
Block functor for rounding the value in a certain mode: None := No rounding NearestInteger := roundin...
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.
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.
SuperRoundingF2D(FunctorPtr< SuperF2D< T, W > > &&f, RoundingMode rounding=RoundingMode::NearestInteger)
Top level namespace for all of OpenLB.
RoundingMode
Mode of how to decide Quality of Grid.