|
Space Sim
|
Propagates mass back up to the root while computing the center of mass and bounds for each node along the way. More...
Go to the source code of this file.
Data Structures | |
| struct | Particle |
| struct | MortonEntry |
| struct | Node |
Macros | |
| #define | WORKGROUP_SIZE 128 |
| #define | RADIX_SORT_BINS 128 |
| #define | SUBGROUP_SIZE 32 |
| #define | BODY_COUNT 15000 |
| #define | MAX_NODES 45000 |
| #define | MAX_DEPTH 64 |
Functions | |
| layout (local_size_x=WORKGROUP_SIZE) in | |
| layout (std430, binding=1) buffer ParticleData | |
| void | main () |
Variables | |
| uniform int | depth |
Propagates mass back up to the root while computing the center of mass and bounds for each node along the way.
Definition in file com22.comp.
| struct Particle |
| struct MortonEntry |
Definition at line 29 of file bounds.comp.
| Data Fields | ||
|---|---|---|
| uint | pid | |
| uint | morton | |
| struct Node |
| #define WORKGROUP_SIZE 128 |
Definition at line 8 of file com22.comp.
| #define RADIX_SORT_BINS 128 |
Definition at line 9 of file com22.comp.
Referenced by main().
| #define SUBGROUP_SIZE 32 |
Definition at line 10 of file com22.comp.
| #define BODY_COUNT 15000 |
Definition at line 11 of file com22.comp.
| #define MAX_NODES 45000 |
Definition at line 12 of file com22.comp.
| #define MAX_DEPTH 64 |
Definition at line 55 of file com22.comp.
| layout | ( | local_size_x | = WORKGROUP_SIZE | ) |
References Particle::acc, layout(), mat, Particle::p_m, Particle::vel, and WORKGROUP_SIZE.
| layout | ( | std430 | , |
| binding | = 1 ) |
Definition at line 21 of file com22.comp.
References BODY_COUNT, and layout().
| void main | ( | ) |
| uniform int depth |
Definition at line 76 of file com22.comp.
Referenced by main().