|
mdcore
0.1.5
|
#include <part.h>
Public Member Functions | |
| FPTYPE x[4] | __attribute__ ((aligned(16))) |
| FPTYPE v[4] | __attribute__ ((aligned(16))) |
| FPTYPE f[4] | __attribute__ ((aligned(16))) |
Data Fields | |
| float | q |
| int | id |
| int | vid |
| short int | type |
| unsigned short int | flags |
The part data structure.
Note that the arrays for x, v and f are 4 entries long for propper alignment.
| FPTYPE x [4] __attribute__ | ( | (aligned(16)) | ) |
Particle position
| FPTYPE v [4] __attribute__ | ( | (aligned(16)) | ) |
Particle velocity
| FPTYPE f [4] __attribute__ | ( | (aligned(16)) | ) |
Particle force
| unsigned short int flags |
Particle flags
| int id |
Particle id and type
| float q |
individual particle charge, if needed.
| short int type |
particle type.
| int vid |
1.7.6.1