Swarm-NG  1.1
swarm::gpu::bppt::GravitationAccJerkScalars< W > Struct Template Reference

Unit type of the acceleration and jerk pairs shared array. More...

#include <gravitation_common.hpp>

Detailed Description

template<int W>
struct swarm::gpu::bppt::GravitationAccJerkScalars< W >

Unit type of the acceleration and jerk pairs shared array.

This for each pair we keep an acc and a jerk. The values are not final values, they are intermediate values calculated by calc_pair and should be accumulated using the correct algorithm to produce acceleration and jerk. CHUNK_SIZE can be 1. Usually it is set to 16 for optimizing coalesced reads from memory.

Definition at line 66 of file gravitation_common.hpp.


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