XGC1
Public Member Functions | Public Attributes | List of all members
SimdParticles Struct Reference

#include <particles.hpp>

Collaboration diagram for SimdParticles:
Collaboration graph
[legend]

Public Member Functions

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)
 

Public Attributes

SimdPhase ph
 
SimdConstants ct
 
Simd< long long int > gid
 

Member Function Documentation

◆ 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]maskVector of bools whether the particles should be removed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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_simdwhich particle should be removed
Here is the call graph for this function:

◆ is_active()

KOKKOS_INLINE_FUNCTION bool SimdParticles::is_active ( int  i_simd) const
inline
Here is the caller graph for this function:

◆ is_inactive()

KOKKOS_INLINE_FUNCTION bool SimdParticles::is_inactive ( int  i_simd) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ ct

SimdConstants SimdParticles::ct

◆ gid

Simd<long long int> SimdParticles::gid

◆ ph

SimdPhase SimdParticles::ph

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