Swarm-NG  1.1
ensemble.hpp File Reference

Defines ensemble base class and implements its member functions. More...

#include "allocators.hpp"
#include "coalescedstructarray.hpp"
#include <config.h>

Go to the source code of this file.

Classes

struct  swarm::CoalescedMemberArray< _value_type, _N, _CHUNK_SIZE >
 To use as an array for members of Body and Sys. More...
 
class  swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >
 ensemble data structure containing nbody systems. More...
 
struct  swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >::Body
 Concrete structure of Body This class is specifically designed to be used with CoalescedStruct array. More...
 
struct  swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >::Sys
 Structure for quantities stored per system. More...
 
class  swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >::SystemRef
 Reference to a system within an ensemble. More...
 
class  swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >::SystemRefConst
 Constant encapsulation of SystemRef If the ens is constant use: SystemRefConst s = ens[i];. More...
 
struct  swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >::range_t
 A simple data structure to calculate statistical measures on a range of values. More...
 

Namespaces

 swarm
 Swarm-NG library.
 

Constant Groups

 swarm
 Swarm-NG library.
 

Typedefs

typedef EnsembleBase
< ENSEMBLE_CHUNK_SIZE > 
swarm::ensemble
 Base class of all ensembles.
 

Functions

template<class N >
GENERICswarm::square (const N &x)
 

Detailed Description

Defines ensemble base class and implements its member functions.

Definition in file ensemble.hpp.