OpenLB 1.7
|
Functor that returns forces acting on a particle surface, returns data in output for every particle in a row(described are return values for the first particle). More...
#include <latticeMomentumExchangeForce.h>
Public Member Functions | |
SuperLatticeParticleForce (SuperLattice< T, DESCRIPTOR > &sLattice, const SuperGeometry< T, DESCRIPTOR::d > &superGeometry, particles::ParticleSystem< T, PARTICLETYPE > &particleSystem, const UnitConverter< T, DESCRIPTOR > &converter, Vector< bool, DESCRIPTOR::d > periodic=Vector< bool, DESCRIPTOR::d >(false), std::size_t iP0=0, const std::unordered_set< int > &ignoredMaterials=std::unordered_set< int >{}, const F f=[](auto &, const auto &, const auto &, const auto &){}) | |
bool | operator() (T output[], const int input[]) override |
Functor that returns forces acting on a particle surface, returns data in output for every particle in a row(described are return values for the first particle).
Definition at line 88 of file latticeMomentumExchangeForce.h.
olb::SuperLatticeParticleForce< T, DESCRIPTOR, PARTICLETYPE, BLOCKFUNCTOR >::SuperLatticeParticleForce | ( | SuperLattice< T, DESCRIPTOR > & | sLattice, |
const SuperGeometry< T, DESCRIPTOR::d > & | superGeometry, | ||
particles::ParticleSystem< T, PARTICLETYPE > & | particleSystem, | ||
const UnitConverter< T, DESCRIPTOR > & | converter, | ||
Vector< bool, DESCRIPTOR::d > | periodic = Vector<bool,DESCRIPTOR::d> (false), | ||
std::size_t | iP0 = 0, | ||
const std::unordered_set< int > & | ignoredMaterials = std::unordered_set<int>{}, | ||
const F | f = [](auto&, const auto&, const auto&, const auto&){} ) |
Definition at line 35 of file latticeMomentumExchangeForce.hh.
References olb::SuperGeometry< T, D >::getBlockGeometry(), and olb::SuperStructure< T, D >::getCuboidGeometry().
|
override |
Definition at line 65 of file latticeMomentumExchangeForce.hh.
References olb::singleton::mpi(), and olb::singleton::MpiManager::reduceAndBcast().