25#ifndef SUPER_BASE_F_2D_H
26#define SUPER_BASE_F_2D_H
44template<
typename T,
typename DESCRIPTOR>
class SuperLattice;
45template<
typename T>
class SuperStructure2D;
46template<
typename T,
typename W>
class SuperIdentity2D;
47template<
typename T>
class BlockF2D;
50template <
typename T,
typename W = T>
62 std::vector<std::unique_ptr<BlockF2D<W>>>
_blockF;
78 bool operator() (W output[],
const int input [])
override;
86template<
typename T,
typename BaseType>
101template <
typename T,
typename W=T>
107 bool operator() (W output[],
const int input[])
override;
111template <
typename T,
typename DESCRIPTOR>
126template <
typename T,
typename DESCRIPTOR>
137template <
typename T,
typename DESCRIPTOR,
typename TDESCRIPTOR>
represents all functors that operate on a cuboid in general, mother class of BlockLatticeF,...
Smart pointer for managing the various ways of passing functors around.
GenericF is a base class, that can represent continuous as well as discrete functions.
bool operator()(BaseType output[], const int input[])
Operator for this functor - copies data from _superData object into output.
SuperData< 2, T, BaseType > & getSuperData()
Getter for _superData
SuperDataF2D(SuperData< 2, T, BaseType > &superData)
Constructor from SuperData2D - stores _superData reference.
SuperData< 2, T, BaseType > & _superData
SuperData2D object this functor was created from
represents all functors that operate on a SuperStructure<T,2> in general
SuperF2D< T, W > & operator-(SuperF2D< T, W > &rhs)
int getBlockFSize() const
SuperF2D< T, W > & operator+(SuperF2D< T, W > &rhs)
bool operator()(W output[], const int input[]) override
SuperF2D< T, W > & operator*(SuperF2D< T, W > &rhs)
std::vector< std::unique_ptr< BlockF2D< W > > > _blockF
Super functors may consist of several BlockF2D<W> derived functors.
SuperStructure< T, 2 > & getSuperStructure()
SuperF2D(SuperStructure< T, 2 > &superStructure, int targetDim)
SuperStructure< T, 2 > & _superStructure
BlockF2D< W > & getBlockF(int iCloc)
SuperF2D< T, W > & operator/(SuperF2D< T, W > &rhs)
SuperIdentity2D(FunctorPtr< SuperF2D< T, W > > &&f)
FunctorPtr< SuperF2D< T, W > > _f
bool operator()(W output[], const int input[]) override
represents all functors that operate on a SuperLattice in general, e.g. getVelocity(),...
SuperLatticeF2D(SuperLattice< T, DESCRIPTOR > &superLattice, int targetDim)
bool operator()(T output[], const int input[])
SuperLattice< T, DESCRIPTOR > & _sLattice
SuperLattice< T, DESCRIPTOR > & getSuperLattice()
represents all functors that operate on a DESCRIPTOR with output in Phys, e.g. physVelocity(),...
const UnitConverter< T, DESCRIPTOR > & _converter
UnitConverter< T, DESCRIPTOR > const & getConverter() const
SuperLatticePhysF2D(SuperLattice< T, DESCRIPTOR > &sLattice, const UnitConverter< T, DESCRIPTOR > &converter, int targetDim)
represents all thermal functors that operate on a DESCRIPTOR with output in Phys, e....
const ThermalUnitConverter< T, DESCRIPTOR, TDESCRIPTOR > & _converter
SuperLatticeThermalPhysF2D(SuperLattice< T, TDESCRIPTOR > &sLattice, const ThermalUnitConverter< T, DESCRIPTOR, TDESCRIPTOR > &converter, int targetDim)
ThermalUnitConverter< T, DESCRIPTOR, TDESCRIPTOR > const & getConverter() const
Super class maintaining block lattices for a cuboid decomposition.
Conversion between physical and lattice units, as well as discretization specialized for thermal appl...
Conversion between physical and lattice units, as well as discretization.
The description of a generic interface for all functor classes – header file.
Top level namespace for all of OpenLB.
typename util::BaseTypeHelper< T >::type BaseType
Dynamics for a generic 2D super data – header file.
The description of a 2D super lattice – header file.