32#ifndef EUL2LAGR_DENSITY_HH
33#define EUL2LAGR_DENSITY_HH
37template<
typename T,
typename DESCRIPTOR>
41 this->
getName() =
"eul2LagrDensity";
44template<
typename T,
typename DESCRIPTOR>
47 auto rhoP = this->_blockLattice.get(input[0], input[1], input[2]).template getFieldPointer<descriptors::EUL2LAGR>();
52template<
typename T,
typename DESCRIPTOR>
57 this->
getName() =
"eul2LagrDensity";
58 int maxC = this->
_sLattice.getLoadBalancer().size();
60 for (
int iC = 0; iC < maxC; iC++) {
functor returns pointwise external field for Lagrangian particle density, converted to Eulerian
bool operator()(T output[], const int input[]) override
has to be implemented for 'every' derived class
BlockLatticeEul2LagrDensity3D(BlockLattice< T, DESCRIPTOR > &blockLattice)
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.
SuperLatticeEul2LagrDensity3D(SuperLattice< T, DESCRIPTOR > &sLattice)
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.