-
Notifications
You must be signed in to change notification settings - Fork 50
Core SoA
Sam Reeve edited this page May 18, 2023
·
2 revisions
An SoA
holds a subset of particle fields together in a logical collection that has the ability to be contiguous in memory.
template<int VectorLength, typename... Types>
struct SoA<MemberTypes<Types...>,VectorLength>;
using T0 = float[3];
using T1 = double;
using member_types = Cabana::MemberTypes<T0,T1>;
using soa_type = Cabana::SoA<vector_length,member_types>;
This is part of the Programming Guide series
Cabana - A Co-Designed Library for Exascale Particle Simulations