OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
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<
145 access::providesSurface<PARTICLETYPE>(),
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
149 doWhenMeetingCondition<T,PARTICLETYPE,PCONDITION>( particle,
150 [&](Particle<T,PARTICLETYPE> particle){
151 particle.process(timeStepSize);
152 }, globiC );
153 }

References olb::particles::Particle< T, PARTICLETYPE >::process().

+ Here is the call graph for this function:

Member Data Documentation

◆ latticeCoupling

template<typename T , typename PARTICLETYPE >
constexpr 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 >
constexpr 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: