PyANGKernel.GKExperimentNewCmd¶
- class GKExperimentNewCmd¶
A command to create a new experiment. * Creates a new experiment in a scenario using an engine (meso o micro) and a mode (iterative, one shot).
Synopsis¶
Methods¶
def
__init__()def
setEngine()def
setEngineMode()def
setScenario()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
Constructor. Default values: * - engine:
eMicro* - engine mode:eIterative*Warning
scenario must be set to a non null value before calling doIt().
- setEngine(engine)¶
- Parameters:
engine –
SimulatorEngine
Sets the engine of the experiment.
- setEngineMode(mode)¶
- Parameters:
mode –
EngineMode
Sets the engine mode of the experiment.
- setScenario(ascenario)¶
- Parameters:
ascenario –
GKScenario
Sets the scenario in which to create the experiment.