ModelCenter/src/ModelCenter.odl (line 3598)
Allows you to set up a matrix of runs and runs them in parallel or serial depending on the preferences mode.
Members
- addInput
- addOutput
- addRerun
- clearCache
- enableCache
- getInput
- getInputLabel
- getNumInputs
- getNumOutputs
- getNumRuns
- getNumThreads
- getOutput
- getOutputLabel
- getRunIndex
- getRunInParallel
- getValidateAll
- halt
- resume
- setCustomMetadata
- setInput
- setNumRuns
- setNumThreads
- setRunInParallel
- setValidateAll
- submit
- waitForJobCompletion
- wasHalted
Properties
Property wasHalted
ModelCenter/src/ModelCenter.odl (line 1)
Public functions
Function addInput
- name: Variable name.
- label: Variable label.
- BSTR name
- BSTR label
Function setInput
- run: Index of the run this is to apply to (0-based index).
- name: Name of the specified variable.
- value: Value for the specified variable to run for this specified run.
- long run
- BSTR name
- BSTR value
Function addOutput
- name: Variable name.
- label: Variable label.
- BSTR name
- BSTR label
Function getValidateAll
Function setValidateAll
- flag: yes(TRUE) or no(FALSE).
- boolean flag
Function getNumRuns
Function setNumRuns
- numRuns: Number of runs.
- long numRuns
Function submit
- dataCollector: IDispatch* to an IDataCollector object.
- description: The type of trade study to be run.
- fireAndForget: Flag for whether fire-n-forget is enabled
- IDispatch * dataCollector
- [optional] VARIANT description
- [optional] VARIANT fireAndForget
Function waitForJobCompletion
Function addRerun
- run: 0 based run number to add to the re-run list.
- long run
Function halt
- halt: Whether to halt the job or not.
- boolean halt
Function getNumInputs
Function getNumOutputs
Function getInput
- index: The index of the input to fetch.
- long index
Function getOutput
- index: The index of the output to fetch.
- long index
Function getInputLabel
- index: The index of the input to fetch.
- long index
Function getOutputLabel
- index: The index of the output to fetch.
- long index
Function getNumThreads
Function getRunInParallel
Function setNumThreads
- numThreads: the number of threads to use
- long numThreads
Function setRunInParallel
- runInParallel: true if the job is to be ran in parallel, false otherwise
- boolean runInParallel
Function enableCache
- enable: true if run values could be get from cache, if false, all submitted runs are to be executed.
- boolean enable
Function clearCache
Function getRunIndex
- names: array of variable names for the design
- values: array of values corresponding to the names array
Parameters:
- VARIANT names
- VARIANT values
Function resume
- dataHistory: the Data History to restore from; if null uses the current data history; if non-null this becomes the current data history; you may pass a data explorer or data collector instead
- IDispatch * dataHistory
Function setCustomMetadata
- name: Variable name.
- key: the key of the metadata to add
- value: the value of the metadata to add.
- BSTR name
- BSTR key
- BSTR value