24#ifndef LATTICE_EXTERNAL_2D_HH
25#define LATTICE_EXTERNAL_2D_HH
33template<
typename T,
typename DESCRIPTOR,
typename FIELD>
39 int maxC = this->
_sLattice.getLoadBalancer().size();
41 for (
int iC = 0; iC < maxC; iC++) {
46template <
typename T,
typename DESCRIPTOR,
typename FIELD>
56template <
typename T,
typename DESCRIPTOR,
typename FIELD>
59 T* value0 = fd::accessNew<T,FIELD>( this->_blockLattice.get( input[0], input[1] ), this->_iT );
BlockLatticeExternal2D returns pointwise density rho on local lattices.
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
BlockLatticeExternal2D(BlockLattice< T, DESCRIPTOR > &blockLattice, size_t &iT)
represents all functors that operate on a DESCRIPTOR in general, e.g. getVelocity(),...
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.
SuperLatticeExternal2D(SuperLattice< T, DESCRIPTOR > &sLattice, size_t &iT)
represents all functors that operate on a SuperLattice in general, e.g. getVelocity(),...
SuperLattice< T, DESCRIPTOR > & _sLattice
Super class maintaining block lattices for a cuboid decomposition.
Top level namespace for all of OpenLB.