25#ifndef REDUCTION_F_2D_H
26#define REDUCTION_F_2D_H
36template<
typename T,
typename DESCRIPTOR>
class SuperLattice;
45template <
typename T,
typename DESCRIPTOR>
56 bool operator() (T output[],
const int input[])
override;
64template <
typename T,
typename DESCRIPTOR>
78 bool operator() (T output[],
const int input[])
override;
AnalyticalF are applications from DD to XD, where X is set by the constructor.
represents all functors that operate on a DESCRIPTOR in general, e.g. getVelocity(),...
Block level functor for conversion of analytical to lattice functors.
AnalyticalF2D< T, T > & _f
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
BlockLatticeFfromAnalyticalF2D(AnalyticalF2D< T, T > &f, BlockLattice< T, DESCRIPTOR > &lattice, Cuboid2D< T > &cuboid)
Platform-abstracted block lattice for external access and inter-block interaction.
A regular single 2D cuboid is the basic component of a 2D cuboid structure which defines the grid.
Smart pointer for managing the various ways of passing functors around.
represents all functors that operate on a SuperLattice in general, e.g. getVelocity(),...
Functor used to convert analytical functions to lattice functions.
FunctorPtr< AnalyticalF2D< T, T > > _f
SuperLatticeFfromAnalyticalF2D(FunctorPtr< AnalyticalF2D< T, T > > &&f, SuperLattice< T, DESCRIPTOR > &sLattice)
bool operator()(T output[], const int input[]) override
Super class maintaining block lattices for a cuboid decomposition.
The description of a vector of 2D cuboid – header file.
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.