Swarm-NG  1.1
types.hpp File Reference

Defines on-GPU state logging of bodies. More...

Go to the source code of this file.

Classes

struct  swarm::log::body_set< N >
 body_set class: hold a set of indices to bodies in a given system in a given ensemble. More...
 
struct  gpulog::internal::alignment< body_set< N > >
 body_set_cls is a proxy for an array of bodies, so make sure it reports the same alignment as body[N], as well as sizeof() return alignment of body[N] More...
 
struct  gpulog::internal::ttrait< body_set< N > >
 return traits of body[N] More...
 
struct  gpulog::internal::argio< body_set< N > >
 Template partial specialization of argio class from gpulog for body_set. More...
 

Namespaces

 swarm
 Swarm-NG library.
 
 swarm::log
 The event/data logging system for swarm
 
 gpulog
 class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored).
 

Constant Groups

 swarm
 Swarm-NG library.
 
 swarm::log
 The event/data logging system for swarm
 
 gpulog
 class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored).
 

Functions

struct swarm::log::ALIGN (8) body
 for on-GPU state logging of bodies NOTE: I've written out the datatypes explicitly, because of alignment requirements that have to be hand-tuned between the device and host code. More...
 
GENERIC const body_set< 1 > swarm::log::make_body_set (const ensemble &ens, int sys, int bod0)
 For one body case.
 
GENERIC const body_set< 2 > swarm::log::make_body_set (const ensemble &ens, int sys, int bod0, int bod1)
 For two body case.
 
GENERIC const body_set< 3 > swarm::log::make_body_set (const ensemble &ens, int sys, int bod0, int bod1, int bod2)
 For three body case.
 

Detailed Description

Defines on-GPU state logging of bodies.

Definition in file types.hpp.