Swarm-NG
1.1
|
Defines and implements common utility functions for calculating acceleration and jerk of gravitation. More...
Go to the source code of this file.
Classes | |
struct | swarm::gpu::bppt::GravitationAccScalars< W > |
Unit type of the acceleration pairs shared array. More... | |
struct | swarm::gpu::bppt::GravitationAccJerkScalars< W > |
Unit type of the acceleration and jerk pairs shared array. More... | |
Namespaces | |
swarm | |
Swarm-NG library. | |
swarm::gpu | |
GPU-based integrators and other GPU tools. | |
swarm::gpu::bppt | |
Class of GPU integrators with a thread for each body-pair. | |
Constant Groups | |
swarm | |
Swarm-NG library. | |
swarm::gpu | |
GPU-based integrators and other GPU tools. | |
swarm::gpu::bppt | |
Class of GPU integrators with a thread for each body-pair. | |
Functions | |
GENERIC double | swarm::gpu::bppt::inner_product (const double a[3], const double b[3]) |
Helper function for calculating inner product. | |
template<int nbod> | |
GENERIC int | swarm::gpu::bppt::first (int ij) |
Helper function to convert an integer from 1..n*(n-1)/2 to a pair (first,second), this function returns the first element. | |
template<int nbod> | |
GENERIC int | swarm::gpu::bppt::second (int ij) |
Helper function to convert an integer from 1..n*(n-1)/2 to a pair (first,second), this function returns the second element. | |
Defines and implements common utility functions for calculating acceleration and jerk of gravitation.
Definition in file gravitation_common.hpp.