OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
olb::particles::process_dynamics_single_cuboid< T, PARTICLETYPE > Struct Template Reference

Process particle dynamics. More...

#include <particleTasks.h>

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

Static Public Member Functions

static auto execute (ParticleSystem< T, PARTICLETYPE > &particleSystem, Particle< T, PARTICLETYPE > &particle, Vector< T, PARTICLETYPE::d > &externalAcceleration, T timeStepSize, int globiC=0)
 

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_single_cuboid< T, PARTICLETYPE >

Process particle dynamics.

Definition at line 85 of file particleTasks.h.

Member Function Documentation

◆ execute()

template<typename T , typename PARTICLETYPE >
static auto olb::particles::process_dynamics_single_cuboid< T, PARTICLETYPE >::execute ( ParticleSystem< T, PARTICLETYPE > & particleSystem,
Particle< T, PARTICLETYPE > & particle,
Vector< T, PARTICLETYPE::d > & externalAcceleration,
T timeStepSize,
int globiC = 0 )
inlinestatic

Definition at line 86 of file particleTasks.h.

91 {
92 //Call process on particle dynamics
93 if constexpr (!access::providesDynamicsID<PARTICLETYPE>()){
94 particle.process(timeStepSize);
95 } else {
96 unsigned short dynamicsID = access::getDynamicsID( particle );
97 particle.process(timeStepSize, dynamicsID);
98 }
99 }
unsigned short getDynamicsID(Particle< T, PARTICLETYPE > &particle)

References olb::particles::access::getDynamicsID(), and 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_single_cuboid< T, PARTICLETYPE >::latticeCoupling = false
staticconstexpr

Definition at line 100 of file particleTasks.h.

◆ particleLoop

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

Definition at line 101 of file particleTasks.h.


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