3 #include <Cabana_AoSoA.hpp>
4 #include <Kokkos_Core.hpp>
58 long long int gid[VEC_LEN];
84 template<
class Device>
94 template<
class Device>
114 template<
class Device>
Cabana::MemberTypes< double[6]> PhaseDataTypes
Definition: particles.hpp:11
KOKKOS_INLINE_FUNCTION int divide_and_round_up(int a, int b)
Definition: globals.hpp:101
KOKKOS_INLINE_FUNCTION void update_dphm(SimdPhase &dphm, const SimdPhase &dpht)
Definition: particles.tpp:32
KOKKOS_INLINE_FUNCTION void update_phases(SimdPhase &ph_new, const SimdPhase &ph, double local_dt, const SimdPhase &dph)
Definition: particles.tpp:17
KOKKOS_INLINE_FUNCTION void simd_2_AoSoA(VecParticles *part, const SimdParticles &part_one, int a_vec, int s_vec)
Definition: particles.tpp:65
double rho[VEC_LEN]
Definition: particles.hpp:42
KOKKOS_INLINE_FUNCTION AoSoAIndices(int idx)
Definition: particles.hpp:95
Simd< double > w1
Definition: particles.hpp:19
Definition: particles.hpp:48
VecConstants ct
Definition: particles.hpp:57
Definition: particles.hpp:63
int add_vec_buffer(int n_ptl)
Definition: particles.hpp:131
Definition: particles.hpp:38
int a
The index in the inner array of the AoSoA.
Definition: particles.hpp:87
Definition: particles.hpp:55
KOKKOS_INLINE_FUNCTION void update_dpht(SimdPhase &dpht, const SimdPhase &dph, const SimdPhase &dphm)
Definition: particles.tpp:48
KOKKOS_INLINE_FUNCTION void AoSoA_2_simd(SimdParticles &part_one, const VecParticles *part, int a_vec, int s_vec)
Definition: particles.tpp:88
double data[T *VEC_LEN]
Definition: particles.hpp:64
Simd< double > rho
Definition: particles.hpp:18
int p_range< DeviceType >(int num_particle)
Definition: particles.hpp:124
double w2[VEC_LEN]
Definition: particles.hpp:44
double mu[VEC_LEN]
Definition: particles.hpp:49
idx
Definition: diag_f0_df_port1.hpp:28
Simd< double > r
Definition: particles.hpp:15
Definition: particles.hpp:68
double w0[VEC_LEN]
Definition: particles.hpp:50
SimdPhase ph
Definition: particles.hpp:32
long long int gid[VEC_LEN]
Definition: particles.hpp:58
Simd< double > f0
Definition: particles.hpp:27
double f0[VEC_LEN]
Definition: particles.hpp:51
Definition: particles.hpp:31
VecPhase ph
Definition: particles.hpp:56
Definition: particles.hpp:24
double data[T]
Definition: particles.hpp:69
Cabana::MemberTypes< double[6], double[3], long long int > ParticleDataTypes
Definition: particles.hpp:8
int s
The index in the outer array of the AoSoA.
Definition: particles.hpp:86
Simd< double > z
Definition: particles.hpp:16
Simd< long long int > gid
Definition: particles.hpp:34
Simd< double > w0
Definition: particles.hpp:26
Simd< double > phi
Definition: particles.hpp:17
Definition: particles.hpp:14
SimdConstants ct
Definition: particles.hpp:33
double phi[VEC_LEN]
Definition: particles.hpp:41
Simd< double > w2
Definition: particles.hpp:20
double r[VEC_LEN]
Definition: particles.hpp:39
int p_range(int num_particle)
Definition: particles.hpp:115
Simd< double > mu
Definition: particles.hpp:25
KOKKOS_INLINE_FUNCTION void remove_particles(Simd< long long int > &gid, const Simd< bool > &deactivate)
Definition: particles.tpp:4
Definition: particles.hpp:85
double z[VEC_LEN]
Definition: particles.hpp:40
double w1[VEC_LEN]
Definition: particles.hpp:43