Class representing an engine.
More...
Returns a pointer to the newly allocated engine with a copy of input objects and parameters of this engine
- Returns
- Pointer to the newly allocated engine
| def leapfrog |
( |
|
self, |
|
|
|
threadIdx, |
|
|
|
nThreads |
|
) |
| |
Enables the usage of current engine in parallel regions of code with leapfrog method
- Parameters
-
| threadIdx | Index of the thread |
| nThreads | Number of threads |
- Returns
- Status of computations
| def loadState |
( |
|
self, |
|
|
|
src |
|
) |
| |
Rewrites current state with source one
- Parameters
-
- Returns
- Status of computations
| def saveState |
( |
|
self, |
|
|
|
dest |
|
) |
| |
Saves current engine state to destination
- Parameters
-
| dest | Destination to save the state |
- Returns
- Status of computations
| def skipAhead |
( |
|
self, |
|
|
|
nSkip |
|
) |
| |
Enables the usage of current engine in parallel regions of code with skipAhead method
- Parameters
-
| nSkip | Number of elements that will be skipped |
- Returns
- Status of computations
The documentation for this class was generated from the following file:
- algorithms/engines/__init__.py