![]() |
OpenLB 1.8.1
|
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>
Inheritance diagram for olb::BlockLatticeMomentumExchangeForce< T, DESCRIPTOR, PARTICLETYPE >:
Collaboration diagram for olb::BlockLatticeMomentumExchangeForce< T, DESCRIPTOR, PARTICLETYPE >:Public Member Functions | |
| BlockLatticeMomentumExchangeForce (BlockLattice< T, DESCRIPTOR > &blockLattice, const BlockGeometry< T, DESCRIPTOR::d > &blockGeometry, particles::ParticleSystem< T, PARTICLETYPE > &particleSystem, const UnitConverter< T, DESCRIPTOR > &converter, PhysR< T, DESCRIPTOR::d > cellMin=PhysR< T, DESCRIPTOR::d >(0.), PhysR< T, DESCRIPTOR::d > cellMax=PhysR< T, DESCRIPTOR::d >(0.), Vector< bool, DESCRIPTOR::d > periodic=Vector< bool, DESCRIPTOR::d >(false), std::size_t iP0=0, const std::set< int > &ignoredMaterials=std::set< int >{}, const F f=[](auto &, const auto &, const auto &, const auto &){}) | |
| void | evaluate (T output[], particles::Particle< T, PARTICLETYPE > &particle, int iP) |
| bool | operator() (T output[], const int input[]) override |
Static Public Attributes | |
| static constexpr bool | serializeForce = true |
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 50 of file latticeMomentumExchangeForce.h.
| olb::BlockLatticeMomentumExchangeForce< T, DESCRIPTOR, PARTICLETYPE >::BlockLatticeMomentumExchangeForce | ( | BlockLattice< T, DESCRIPTOR > & | blockLattice, |
| const BlockGeometry< T, DESCRIPTOR::d > & | blockGeometry, | ||
| particles::ParticleSystem< T, PARTICLETYPE > & | particleSystem, | ||
| const UnitConverter< T, DESCRIPTOR > & | converter, | ||
| PhysR< T, DESCRIPTOR::d > | cellMin = PhysR<T,DESCRIPTOR::d> (0.), | ||
| PhysR< T, DESCRIPTOR::d > | cellMax = PhysR<T,DESCRIPTOR::d> (0.), | ||
| Vector< bool, DESCRIPTOR::d > | periodic = Vector<bool,DESCRIPTOR::d> (false), | ||
| std::size_t | iP0 = 0, | ||
| const std::set< int > & | ignoredMaterials = std::set<int>{}, | ||
| const F | f = [](auto&, const auto&, const auto&, const auto&){} ) |
Definition at line 86 of file latticeMomentumExchangeForce.hh.
References olb::getName().
Here is the call graph for this function:| void olb::BlockLatticeMomentumExchangeForce< T, DESCRIPTOR, PARTICLETYPE >::evaluate | ( | T | output[], |
| particles::Particle< T, PARTICLETYPE > & | particle, | ||
| int | iP ) |
Definition at line 105 of file latticeMomentumExchangeForce.hh.
References olb::particles::dynamics::torque_from_force< D, T >::calculate(), olb::Vector< T, Size >::data(), olb::particles::forSpatialLocationsInBlockParticleIntersection(), olb::particles::access::getPosition(), olb::particles::access::getRadius(), and olb::particles::resolved::momentumExchangeAtSurfaceLocation().
Here is the call graph for this function:
|
override |
Definition at line 160 of file latticeMomentumExchangeForce.hh.
References olb::particles::checkSmoothIndicatorOutOfGeometry(), olb::particles::access::getPosition(), olb::particles::access::getRadius(), and olb::particles::access::isValid().
Here is the call graph for this function:
|
staticconstexpr |
Definition at line 77 of file latticeMomentumExchangeForce.h.