24#ifndef LATTICE_FIELD_2D_HH
25#define LATTICE_FIELD_2D_HH
44template<
typename T,
typename DESCRIPTOR,
typename FIELD>
47 :
SuperLatticeF2D<T,DESCRIPTOR>(sLattice, DESCRIPTOR::template size<FIELD>())
50 for (
int iC = 0; iC < this->
_sLattice.getLoadBalancer().size(); iC++ ) {
56template<
typename T,
typename DESCRIPTOR,
typename FIELD>
59 :
BlockLatticeF2D<T, DESCRIPTOR>(blockLattice, DESCRIPTOR::template size<FIELD>())
64template<
typename T,
typename DESCRIPTOR,
typename FIELD>
66 T output[],
const int input[])
68 this->_blockLattice.get(input).template computeField<FIELD>(output);
represents all functors that operate on a DESCRIPTOR in general, e.g. getVelocity(),...
BlockLatticeField2D(BlockLattice< T, DESCRIPTOR > &blockLattice)
bool operator()(T output[], const int input[])
has to be implemented for 'every' derived class
Platform-abstracted block lattice for external access and inter-block interaction.
std::string & getName()
read and write access to name
std::vector< std::unique_ptr< BlockF2D< T > > > _blockF
Super functors may consist of several BlockF2D<W> derived functors.
represents all functors that operate on a SuperLattice in general, e.g. getVelocity(),...
SuperLattice< T, DESCRIPTOR > & _sLattice
SuperLatticeField2D(SuperLattice< T, DESCRIPTOR > &sLattice)
Super class maintaining block lattices for a cuboid decomposition.
The description of a generic interface for all functor classes – header file.
This file contains indicator functions.
Wrapper functions that simplify the use of MPI.
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.