#include <particleConditions.h>
|
template<typename T , typename PARTICLETYPE > |
static bool | value (Particle< T, PARTICLETYPE > &particle, int globiC) |
|
|
static constexpr bool | dynamic =true |
|
Definition at line 80 of file particleConditions.h.
◆ value()
template<typename T , typename PARTICLETYPE >
static bool olb::particles::conditions::valid_particle_surfaces::value |
( |
Particle< T, PARTICLETYPE > & | particle, |
|
|
int | globiC ) |
|
inlinestatic |
Definition at line 82 of file particleConditions.h.
82 {
83 using namespace descriptors;
85 bool hasCentre = true;
86 if constexpr ( PARTICLETYPE::template providesNested<PARALLELIZATION,IC>() ) {
87 hasCentre = (particle.template getField<PARALLELIZATION,IC>() == globiC);
88 }
89 return (valid && !hasCentre);
90 }
bool isValid(Particle< T, PARTICLETYPE > particle)
References olb::particles::access::isValid().
◆ dynamic
constexpr bool olb::particles::conditions::valid_particle_surfaces::dynamic =true |
|
staticconstexpr |
The documentation for this struct was generated from the following file: