#include <particles.hpp>
|
KOKKOS_INLINE_FUNCTION bool | is_active (int i_simd) const |
|
KOKKOS_INLINE_FUNCTION bool | is_inactive (int i_simd) const |
|
KOKKOS_INLINE_FUNCTION void | deactivate (const Simd< bool > &mask) |
|
KOKKOS_INLINE_FUNCTION void | deactivate (int i_simd) |
|
◆ deactivate() [1/2]
KOKKOS_INLINE_FUNCTION void SimdParticles::deactivate |
( |
const Simd< bool > & |
mask | ) |
|
|
inline |
Set global IDs of particles staged for removal to negative. Ideally we wouldnt overload gid like this.
- Parameters
-
[in] | mask | Vector of bools whether the particles should be removed |
◆ deactivate() [2/2]
KOKKOS_INLINE_FUNCTION void SimdParticles::deactivate |
( |
int |
i_simd | ) |
|
|
inline |
Set global IDs of particles staged for removal to negative. Ideally we wouldnt overload gid like this.
- Parameters
-
[in] | i_simd | which particle should be removed |
◆ is_active()
KOKKOS_INLINE_FUNCTION bool SimdParticles::is_active |
( |
int |
i_simd | ) |
const |
|
inline |
◆ is_inactive()
KOKKOS_INLINE_FUNCTION bool SimdParticles::is_inactive |
( |
int |
i_simd | ) |
const |
|
inline |
◆ ct
◆ gid
Simd<long long int> SimdParticles::gid |
◆ ph
The documentation for this struct was generated from the following file:
- /p/test_ssd/builds/t3_84szKM/0/xgc/XGC-Devel/XGC_core/cpp/particles.hpp