OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
olb::particles::conditions::active_particles Struct Reference

#include <particleConditions.h>

+ Collaboration diagram for olb::particles::conditions::active_particles:

Static Public Member Functions

template<typename T , typename PARTICLETYPE >
static bool value (Particle< T, PARTICLETYPE > &particle)
 

Static Public Attributes

static constexpr bool dynamic =true
 

Detailed Description

Definition at line 96 of file particleConditions.h.

Member Function Documentation

◆ value()

template<typename T , typename PARTICLETYPE >
static bool olb::particles::conditions::active_particles::value ( Particle< T, PARTICLETYPE > & particle)
inlinestatic

Definition at line 98 of file particleConditions.h.

98 {
99 using namespace descriptors;
100 bool active = access::isActive( particle );
101 bool valid = access::isValid( particle );
102 return (active && valid);
103 }
bool isActive(Particle< T, PARTICLETYPE > particle)
bool isValid(Particle< T, PARTICLETYPE > particle)

References olb::particles::access::isActive(), and olb::particles::access::isValid().

+ Here is the call graph for this function:

Member Data Documentation

◆ dynamic

constexpr bool olb::particles::conditions::active_particles::dynamic =true
staticconstexpr

Definition at line 105 of file particleConditions.h.


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