24#ifndef BLOCK_BASE_F_2D_H
25#define BLOCK_BASE_F_2D_H
42template <
typename T>
class BlockIndicatorF2D;
67template <
typename T,
typename BaseType>
93 bool operator() (T output[],
const int input[])
override;
105 bool operator() (T output[],
const int input[]);
116 bool operator() (T output[],
const int input[])
override;
128 bool operator() (T output[],
const int input[]);
132template <
typename T,
typename DESCRIPTOR>
148template <
typename T,
typename DESCRIPTOR>
154 bool operator() (T output[],
const int input[])
override;
159template <
typename T,
typename DESCRIPTOR>
173template <
typename T,
typename DESCRIPTOR,
typename TDESCRIPTOR>
BlockDataF2D can store data of any BlockFunctor2D.
bool operator()(BaseType output[], const int input[]) override
access to _blockData via its get()
BlockData< 2, T, BaseType > & getBlockData()
returns _blockData
BlockDataF2D(int nx, int ny, int size=1)
BlockData< 2, T, BaseType > * _blockData
represents all functors that operate on a cuboid in general, mother class of BlockLatticeF,...
virtual BlockStructureD< 2 > & getBlockStructure()
virtual destructor for defined behaviour
BlockF2D< T > & operator+(BlockF2D< T > &rhs)
BlockF2D< T > & operator*(BlockF2D< T > &rhs)
BlockF2D< T > & operator-(BlockF2D< T > &rhs)
BlockF2D(BlockStructureD< 2 > &blockStructure, int targetDim)
void setBlockStructure(BlockStructureD< 2 > *blockStructure)
BlockF2D< T > & operator/(BlockF2D< T > &rhs)
BlockStructureD< 2 > * _blockStructure
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
BlockIdentity2D(BlockF2D< T > &f)
Base block indicator functor (discrete)
represents all functors that operate on a DESCRIPTOR in general, e.g. getVelocity(),...
BlockLattice< T, DESCRIPTOR > & _blockLattice
BlockLattice< T, DESCRIPTOR > & getBlock()
Copy Constructor.
BlockLatticeF2D(BlockLattice< T, DESCRIPTOR > &blockLattice, int targetDim)
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
BlockLatticeF2D< T, DESCRIPTOR > & _f
BlockLatticeIdentity2D(BlockLatticeF2D< T, DESCRIPTOR > &f)
represents all functors that operate on a DESCRIPTOR with output in Phys, e.g. physVelocity(),...
const UnitConverter< T, DESCRIPTOR > & _converter
BlockLatticePhysF2D(BlockLattice< T, DESCRIPTOR > &blockLattice, const UnitConverter< T, DESCRIPTOR > &converter, int targetDim)
represents all thermal functors that operate on a DESCRIPTOR with output in Phys, e....
BlockLatticeThermalPhysF2D(BlockLattice< T, TDESCRIPTOR > &blockLattice, const ThermalUnitConverter< T, DESCRIPTOR, TDESCRIPTOR > &converter, int targetDim)
const ThermalUnitConverter< T, DESCRIPTOR, TDESCRIPTOR > & _converter
Platform-abstracted block lattice for external access and inter-block interaction.
GenericF is a base class, that can represent continuous as well as discrete functions.
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
Unit conversion handling – header file.