24#ifndef LATTICE_EXTERNAL_3D_HH
25#define LATTICE_EXTERNAL_3D_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], input[2] ), this->_iT );
BlockLatticeExternal3D returns pointwise density rho on local lattices.
BlockLatticeExternal3D(BlockLattice< T, DESCRIPTOR > &blockLattice, size_t &iT)
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
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< BlockF3D< T > > > _blockF
Super functors may consist of several BlockF3D<W> derived functors.
SuperLatticeExternal3D(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.