Swarm-NG
1.1
|
Structure for quantities stored per system. More...
#include <ensemble.hpp>
Public Types | |
enum | ActivationStates |
Constanst that are used as values for state variable Value 0 is the active state, it means that the integrator will integrate the ensemble. More... | |
Public Member Functions | |
GENERIC double & | time () |
wall clock time for the system | |
GENERIC int & | state () |
Activity state of the system. c.f. ActivationStates. | |
GENERIC int & | id () |
Unique identifier of the system. c.f. SysRef::id. | |
GENERIC const double & | attribute (const int &i) const |
Access extra attributes of the system. | |
Structure for quantities stored per system.
This structure is specifically designed for efficient coalesced access and should only be used with CoalescedStructArray.
Definition at line 227 of file ensemble.hpp.
enum swarm::EnsembleBase::Sys::ActivationStates |
Constanst that are used as values for state variable Value 0 is the active state, it means that the integrator will integrate the ensemble.
All other values are considered inactive state. However The policy on how they get reactivated depends on the value
SYSTEM_INACTIVE: will be reactivated for next integration SYSTEM_NEEDS_EXAM: needs to be examined before reactivation SYSTEM_DISABLED: it is permenantly deactivated.
Definition at line 269 of file ensemble.hpp.