Swarm-NG  1.1
swarmng.GpuIntegrator Class Reference

GPU accelerated integrator. More...

Inheritance diagram for swarmng.GpuIntegrator:
swarmng.Integrator

Public Member Functions

def create
 Same as Integrator.create, but returns an instance of GpuIntegrator.
 
def core_integrate
 The default integrate method updates the GPU ensemble every time. More...
 
def download_ensemble
 Update the ensemble in system memory from GPU ensemble.
 
def upload_ensemble
 Update the GPU ensemble from the ensemble in system memory. More...
 
- Public Member Functions inherited from swarmng.Integrator
def create
 Create an integrator object from the configuration specified the only mandatory items is an identifier for the integrator, namely the value 'integrator'. More...
 
def integrate
 Run the integration up to the specified destination_time.
 

Properties

 ensemble = property
 GPU ensemble that is used for the integration. More...
 
- Properties inherited from swarmng.Integrator
 ensemble = property
 The ensemble data structure to operate on, of type Ensemble.
 
 destination_time = property
 All of the systems will be integrated to this specified time. More...
 

Detailed Description

GPU accelerated integrator.

WARNING: this class is not thoroughly tested for most intents and purposes, just use the regular Integrator class.

Definition at line 298 of file __init__.doc.py.

Member Function Documentation

def swarmng.GpuIntegrator.core_integrate (   self)

The default integrate method updates the GPU ensemble every time.

The core_integrate just launches the kernel.

Definition at line 309 of file __init__.doc.py.

def swarmng.GpuIntegrator.upload_ensemble (   self)

Update the GPU ensemble from the ensemble in system memory.

Definition at line 313 of file __init__.doc.py.

Property Documentation

swarmng.GpuIntegrator.ensemble = property
static

GPU ensemble that is used for the integration.

this seems redundant since ensemble property is already defined in Integrator.

Definition at line 303 of file __init__.doc.py.


The documentation for this class was generated from the following file: