Swarm-NG
1.1
|
Abstract ensemble data structure. More...
Public Member Functions | |
def | __getitem__ |
Get the ith system as a System object. More... | |
def | __len__ |
Number of systems in the ensemble equal to nsys Usage. More... | |
Properties | |
nsys = property | |
Number of systems in the ensemble (integer value) | |
nbod = property | |
Number of bodies per system (integer value) | |
Abstract ensemble data structure.
The ensemble class has all the accessor methods it is only abstract in terms of storage. Because an ensemble can be stored on GPU memory or system memory.
To create an ensemble refer to DefaultEnsemble.create or DefaultEnsemble.load_from_bin or DefaultEnsemble.load_from_text
Definition at line 220 of file __init__.doc.py.
def swarmng.Ensemble.__getitem__ | ( | self, | |
i | |||
) |
def swarmng.Ensemble.__len__ | ( | self) |
Number of systems in the ensemble equal to nsys Usage.
Definition at line 236 of file __init__.doc.py.