CouplingStep¶
- class persalys.CouplingStep(*args)¶
Coupling step.
Represents one step of the coupling with one command to execute and the associated input or output files.
- Parameters
- commandstr
Command to execute By default it is run by the system else see
setIsShell()
.- input_filessequence of
CouplingInputFile
Input file metadatas
- resource_filessequence of
CouplingResourceFile
Resource file metadatas
- output_filessequence of
CouplingOutputFile
Output file metadatas
- Attributes
thisown
The membership flag
Methods
Accessor to the object's name.
Path accessor.
getId
()Accessor to the object's id.
Template path accessor.
Shell command property accessor.
getName
()Accessor to the object's name.
Variable names accessor.
Template path accessor.
Accessor to the object's shadowed id.
Accessor to the object's visibility state.
hasName
()Test if the object is named.
Test if the object has a distinguishable name.
setCommand
(command)Path accessor.
setInputFiles
(inputFiles)Tokens accessor.
setIsShell
(isShell)Shell command property accessor.
setName
(name)Accessor to the object's name.
setOutputFiles
(outputFiles)Variable names accessor.
setResourceFiles
(inputFiles)Tokens accessor.
setShadowedId
(id)Accessor to the object's shadowed id.
setVisibility
(visible)Accessor to the object's visibility state.
getCode
getEncoding
getEscapedCode
getPPInputs
getPPOutputs
getTimeOut
setCode
setEncoding
setTimeOut
- __init__(*args)¶
- getClassName()¶
Accessor to the object’s name.
- Returns
- class_namestr
The object class name (object.__class__.__name__).
- getCommand()¶
Path accessor.
- Returns
- path
openturns.Description
Path
- path
- getId()¶
Accessor to the object’s id.
- Returns
- idint
Internal unique identifier.
- getInputFiles()¶
Template path accessor.
- Returns
- input_filessequence of
CouplingInputFile
Input file metadatas
- input_filessequence of
- getIsShell()¶
Shell command property accessor.
- Returns
- is_shellbool
Whether the command should be interpreted by the shell
- getName()¶
Accessor to the object’s name.
- Returns
- namestr
The name of the object.
- getOutputFiles()¶
Variable names accessor.
- Returns
- output_filessequence of
CouplingOutputFile
Output file metadatas
- output_filessequence of
- getResourceFiles()¶
Template path accessor.
- Returns
- resource_filessequence of
CouplingResourceFile
Resource file metadatas
- resource_filessequence of
- getShadowedId()¶
Accessor to the object’s shadowed id.
- Returns
- idint
Internal unique identifier.
- getVisibility()¶
Accessor to the object’s visibility state.
- Returns
- visiblebool
Visibility flag.
- hasName()¶
Test if the object is named.
- Returns
- hasNamebool
True if the name is not empty.
- hasVisibleName()¶
Test if the object has a distinguishable name.
- Returns
- hasVisibleNamebool
True if the name is not empty and not the default one.
- setCommand(command)¶
Path accessor.
- Parameters
- pathstr
Path
- setInputFiles(inputFiles)¶
Tokens accessor.
- Parameters
- input_filessequence of
CouplingInputFile
Input file metadatas
- input_filessequence of
- setIsShell(isShell)¶
Shell command property accessor.
- Parameters
- is_shellbool
Whether the command should be interpreted by the shell
- setName(name)¶
Accessor to the object’s name.
- Parameters
- namestr
The name of the object.
- setOutputFiles(outputFiles)¶
Variable names accessor.
- Parameters
- output_filessequence of
CouplingOutputFile
Output file metadatas
- output_filessequence of
- setResourceFiles(inputFiles)¶
Tokens accessor.
- Parameters
- resource_filessequence of
CouplingResourceFile
Resource file metadatas
- resource_filessequence of
- setShadowedId(id)¶
Accessor to the object’s shadowed id.
- Parameters
- idint
Internal unique identifier.
- setVisibility(visible)¶
Accessor to the object’s visibility state.
- Parameters
- visiblebool
Visibility flag.
- property thisown¶
The membership flag