25#ifndef LATTICE_GEOMETRY_3D_HH
26#define LATTICE_GEOMETRY_3D_HH
44template<
typename T,
typename DESCRIPTOR>
51template<
typename T,
typename DESCRIPTOR>
54 :
SuperF3D<T>(superGeometry, 1), _superGeometry(superGeometry),
60 for (
int iC = 0; iC < maxC; iC++) {
67template <
typename T,
typename DESCRIPTOR>
73template<
typename T,
typename DESCRIPTOR>
77 _blockGeometry(blockGeometry),
83template<
typename T,
typename DESCRIPTOR>
86 output[0] = _blockGeometry.getMaterial({input[0], input[1], input[2]});
88 if (_material != -1) {
represents all functors that operate on a cuboid in general, mother class of BlockLatticeF,...
Representation of a block geometry.
functor returns pointwise the material no. presenting the geometry on local lattice
BlockLatticeGeometry3D(BlockLattice< T, DESCRIPTOR > &blockLattice, BlockGeometry< T, 3 > &blockGeometry, int material=-1)
bool operator()(T output[], const int input[]) override
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
represents all functors that operate on a SuperStructure<T,3> in general
std::vector< std::unique_ptr< BlockF3D< W > > > _blockF
Super functors may consist of several BlockF3D<W> derived functors.
Representation of a statistic for a parallel 2D geometry.
BlockGeometry< T, D > & getBlockGeometry(int locIC)
Read and write access to a single block geometry.
functor to get pointwise the material no. presenting the geometry on local lattice
SuperLatticeGeometry3D(SuperLattice< T, DESCRIPTOR > &sLattice, SuperGeometry< T, 3 > &superGeometry, const int material=-1)
Super class maintaining block lattices for a cuboid decomposition.
LoadBalancer< T > & getLoadBalancer()
Read and write access to the load balancer.
Wrapper functions that simplify the use of MPI.
bool nearZero(const ADf< T, DIM > &a)
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.