OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::particles::process_dynamics_parallel< T, PARTICLETYPE > Struct Template Reference

Process particle dynamics. More...

#include <particleTasks.h>

+ Collaboration diagram for olb::particles::process_dynamics_parallel< T, PARTICLETYPE >:

Static Public Member Functions

static auto execute (SuperParticleSystem< T, PARTICLETYPE > &sParticleSystem, Particle< T, PARTICLETYPE > &particle, Vector< T, PARTICLETYPE::d > &externalAcceleration, T timeStepSize, int globiC)
 

Static Public Attributes

static constexpr bool latticeCoupling = false
 
static constexpr bool particleLoop = true
 

Detailed Description

template<typename T, typename PARTICLETYPE>
struct olb::particles::process_dynamics_parallel< T, PARTICLETYPE >

Process particle dynamics.

Definition at line 137 of file particleTasks.h.

Member Function Documentation

◆ execute()

template<typename T , typename PARTICLETYPE >
static auto olb::particles::process_dynamics_parallel< T, PARTICLETYPE >::execute ( SuperParticleSystem< T, PARTICLETYPE > & sParticleSystem,
Particle< T, PARTICLETYPE > & particle,
Vector< T, PARTICLETYPE::d > & externalAcceleration,
T timeStepSize,
int globiC )
inlinestatic

Definition at line 138 of file particleTasks.h.

143 {
144 using PCONDITION = std::conditional_t<
146 conditions::valid_particle_centres, //only consider centre for resolved
147 conditions::valid_particles>; //only consider valid
148 //Call process on particle dynamics when meeting PCONDITION
150 [&](Particle<T,PARTICLETYPE> particle){
151 particle.process(timeStepSize);
152 }, globiC );
153 }
constexpr bool providesSurface()
Provides group SURFACE.
void doWhenMeetingCondition(Particle< T, PARTICLETYPE > &particle, F f)
Definition lambdaLoops.h:55

References olb::particles::doWhenMeetingCondition(), olb::particles::Particle< T, PARTICLETYPE >::process(), and olb::particles::access::providesSurface().

+ Here is the call graph for this function:

Member Data Documentation

◆ latticeCoupling

template<typename T , typename PARTICLETYPE >
bool olb::particles::process_dynamics_parallel< T, PARTICLETYPE >::latticeCoupling = false
staticconstexpr

Definition at line 154 of file particleTasks.h.

◆ particleLoop

template<typename T , typename PARTICLETYPE >
bool olb::particles::process_dynamics_parallel< T, PARTICLETYPE >::particleLoop = true
staticconstexpr

Definition at line 155 of file particleTasks.h.


The documentation for this struct was generated from the following file: