POSIX Shared Memory Data Structures 1.0
High-performance lock-free data structures for inter-process communication
Loading...
Searching...
No Matches
ParticleSystemSoA Struct Reference
+ Collaboration diagram for ParticleSystemSoA:

Public Member Functions

 ParticleSystemSoA (posix_shm &shm, size_t count)
 

Public Attributes

shm_array< float > x
 
shm_array< float > y
 
shm_array< float > z
 
shm_array< float > vx
 
shm_array< float > vy
 
shm_array< float > vz
 
shm_array< float > ax
 
shm_array< float > ay
 
shm_array< float > az
 
shm_array< float > mass
 

Detailed Description

Structure of Arrays for particle data Better for SIMD than Array of Structures

Definition at line 31 of file simd_simulation.cpp.

Constructor & Destructor Documentation

◆ ParticleSystemSoA()

ParticleSystemSoA::ParticleSystemSoA ( posix_shm shm,
size_t  count 
)
inline

Definition at line 37 of file simd_simulation.cpp.

Member Data Documentation

◆ ax

shm_array<float> ParticleSystemSoA::ax

◆ ay

shm_array<float> ParticleSystemSoA::ay

◆ az

shm_array<float> ParticleSystemSoA::az

◆ mass

shm_array<float> ParticleSystemSoA::mass

◆ vx

◆ vy

◆ vz

◆ x

◆ y

shm_array<float> ParticleSystemSoA::y

◆ z

shm_array<float> ParticleSystemSoA::z

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