XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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:

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:

KOKKOS_INLINE_FUNCTION bool SimdParticles::is_active ( int  i_simd) const
inline

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION bool SimdParticles::is_inactive ( int  i_simd) const
inline

Here is the caller graph for this function:

Member Data Documentation

SimdConstants SimdParticles::ct
Simd<long long int> SimdParticles::gid
SimdPhase SimdParticles::ph

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