NetDEM v1.0
Loading...
Searching...
No Matches
netdem::ParticleDataGPU Struct Reference

A struct defining the particle data for MPI communication. More...

#include <particle_data_gpu.hpp>

Public Attributes

int32_t id
 
int32_t shape_id
 
int32_t enable_bound_aabb
 
int32_t need_update_linked_list
 
int32_t material_type
 
float density
 
float damp_viscous
 
float damp_numerical
 
float bound_min [3]
 
float padding1
 
float bound_max [3]
 
float margin
 
float bound_disp [3]
 
float padding2
 
float pos [3]
 
float padding3
 
float quaternion [4]
 
float vel [3]
 
float padding4
 
float spin [3]
 
float padding5
 
float vel_m0p5 [3]
 
float padding6
 
float spin_principal [3]
 
float padding7
 
float force [3]
 
float padding8
 
float moment [3]
 
float padding9
 

Detailed Description

A struct defining the particle data for MPI communication.

The ParticleData struct contains all properties of the Particle class except for pointers or references, as these cannot be exchanged between processes due to addressing rules and memory space limitations.

For information on the meanings of the properties, please refer to the Particle class defined in particle.hpp.

Member Data Documentation

◆ bound_disp

float netdem::ParticleDataGPU::bound_disp[3]

◆ bound_max

float netdem::ParticleDataGPU::bound_max[3]

◆ bound_min

float netdem::ParticleDataGPU::bound_min[3]

◆ damp_numerical

float netdem::ParticleDataGPU::damp_numerical

◆ damp_viscous

float netdem::ParticleDataGPU::damp_viscous

◆ density

float netdem::ParticleDataGPU::density

◆ enable_bound_aabb

int32_t netdem::ParticleDataGPU::enable_bound_aabb

◆ force

float netdem::ParticleDataGPU::force[3]

◆ id

int32_t netdem::ParticleDataGPU::id

◆ margin

float netdem::ParticleDataGPU::margin

◆ material_type

int32_t netdem::ParticleDataGPU::material_type

◆ moment

float netdem::ParticleDataGPU::moment[3]

◆ need_update_linked_list

int32_t netdem::ParticleDataGPU::need_update_linked_list

◆ padding1

float netdem::ParticleDataGPU::padding1

◆ padding2

float netdem::ParticleDataGPU::padding2

◆ padding3

float netdem::ParticleDataGPU::padding3

◆ padding4

float netdem::ParticleDataGPU::padding4

◆ padding5

float netdem::ParticleDataGPU::padding5

◆ padding6

float netdem::ParticleDataGPU::padding6

◆ padding7

float netdem::ParticleDataGPU::padding7

◆ padding8

float netdem::ParticleDataGPU::padding8

◆ padding9

float netdem::ParticleDataGPU::padding9

◆ pos

float netdem::ParticleDataGPU::pos[3]

◆ quaternion

float netdem::ParticleDataGPU::quaternion[4]

◆ shape_id

int32_t netdem::ParticleDataGPU::shape_id

◆ spin

float netdem::ParticleDataGPU::spin[3]

◆ spin_principal

float netdem::ParticleDataGPU::spin_principal[3]

◆ vel

float netdem::ParticleDataGPU::vel[3]

◆ vel_m0p5

float netdem::ParticleDataGPU::vel_m0p5[3]

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