Summary
Container of fields. A workflow is a black box containing operators and exposing only the necessary operator’s inputs and outputs to compute a given algorithmExample
Class Information
Constructors
Constructor
Constructor
wf_ptr(IntPtr)
Constructor
id(int)
Methods
SetOutputContour
MethodSetOutputContour exposes an output as “contour”.
This contour output can be requested and computed afterwards to be plotted.
op(BaseOperator)pin(int)gfxCntrType(GFXContourType (optional))
SetOutputContour
op(BaseOperator)gfxCntrType(GFXContourType (optional))
SetOutputContour
pin(LinkableOutput)gfxCntrType(GFXContourType (optional))
SetOutputContour
pin(LinkableOutput)gfxCntrType(GFXContourType (optional))
SetOutputContour
pin(LinkableOutput)gfxCntrType(GFXContourType (optional))
SetOutputContour
fields(FieldsContainer)gfxCntrType(GFXContourType (optional))
SetOutputContour
field(Field)gfxCntrType(GFXContourType (optional))
SetOutputWarpField
MethodSetOutputWarpField exposes an output as “warp”.
This warping output can be requested and computed afterwards to be used as warping (or deformed shape) of a contour.
op(BaseOperator)pin(int)
SetOutputWarpField
op(BaseOperator)
SetOutputWarpField
pin(LinkableOutput)
SetOutputWarpField
pin(LinkableOutput)
SetOutputWarpField
pin(LinkableOutput)
SetOutputWarpField
fields(FieldsContainer)
SetOutputWarpField
field(Field)
SetOutputMesh
MethodSetOutputMesh exposes an output as “mesh”.
This mesh (which should be a MehedRegion or a MeshesContainer) output can be requested and computed afterwards to be used as a mesh to plot a contour on.
op(BaseOperator)pin(int)
SetOutputMesh
op(BaseOperator)
SetOutputMesh
pin(LinkableOutput)
SetOutputMesh
pin(LinkableOutput)
SetOutputMesh
pin(LinkableOutput)
SetOutputMesh
meshes(MeshesContainer)
SetOutputMesh
mesh(MeshedRegion)
SetInputTime
op(BaseOperator)pin(int)
InstantiateOnRemote
ip(str)port(int)
SetInputMeshScoping
op(BaseOperator)pin(int)
SetInputBodyScoping
op(BaseOperator)pin(int)
ConnectWith
MethodConnectWith Chain 2 workflows together so that they become one workflow.
All the operators, inputs and outputs of left_workflow are exposed in
this workflow.
leftWorkflow(Workflow)
ConnectWith
leftWorkflow(Workflow)outputsToInputs(dict)
Connect
inputPinName(str)value(BaseOperator)
Connect
inputPinName(str)value(Field)
Connect
inputPinName(str)value(BaseCollection)
Connect
inputPinName(str)value(int)
Connect
inputPinName(str)value(bool)
Connect
inputPinName(str)value(float)
Connect
inputPinName(str)value(str)
Connect
inputPinName(str)value(Scoping)
Connect
inputPinName(str)value(DataSources)
Connect
inputPinName(str)value(MeshedRegion)
Connect
inputPinName(str)value(PropertyField)
Connect
inputPinName(str)value(TimeFreqSupport)
Connect
inputPinName(str)value(CyclicSupport)
Connect
inputPinName(str)value(list)
GetOutputAsFieldsContainer
outputPinName(str)
GetOutputAsScopingsContainer
outputPinName(str)
GetOutputAsDataSources
outputPinName(str)
GetOutputAsField
outputPinName(str)
GetOutputAsScoping
outputPinName(str)
GetOutputAsCyclicSupport
outputPinName(str)
GetOutputAsString
outputPinName(str)
GetOutputAsInt
outputPinName(str)
GetOutputAsDouble
outputPinName(str)
GetOutputAsTimeFreqSupport
outputPinName(str)
GetOutputAsMeshesContainer
outputPinName(str)
GetOutputAsMeshedRegion
outputPinName(str)
GetOutputAsResultInfo
outputPinName(str)
GetOutputAsPropertyField
outputPinName(str)
HasTag
tag(WorkFlowTags)
AddTag
tag(WorkFlowTags)
WriteToGraphViz
filename(str)
FromTemplate
template_name(str)
TemplateExists
template_name(str)
discoverAllOperators
GetRecordedId
GetInternalData
Record
Add the workflow to DPF’s internal registry with an id returned by this method. The workflow can be recovered by wf = Workflow(id)identifier(str)transferOwnership(bool)
Derivate
pinName(str)variableName(str (optional))
WriteToFile
filePath(str)
LoadFromFile
filePath(str)
Add
MethodAdd adds an Operator to the list of operators in the workflow.
You do not need to add all operators to the workflow. The list of operators is mostly used
to compute progress while a workflow is running.
op(BaseOperator)
Add
ops(list)
GetNumberOfOperators
SetInputName
MethodSetInputName exposes an input using its name. You can then connect inputs using the input name on the given operator.
op(BaseOperator)pin(int)name(str)
SetOutputName
MethodSetOutputName forwards data as an output so you can request this data by its name.
data(object)name(str)
SetOutputName
MethodSetOutputName exposes an output by its name so that you can request the computed outputs of the given operator
using the output name aftewards.
op(BaseOperator)pin(int)name(str)
SetOutputChart
op(BaseOperator)pin(int)chart(ChartType (optional))chart_label(str (optional))
SetOutputChart
op(BaseOperator)chart(ChartType (optional))chart_label(str (optional))
SetOutputChart
pin(LinkableOutput)chart(ChartType (optional))chart_label(str (optional))
SetOutputChart
pin(LinkableOutput)chart(ChartType (optional))chart_label(str (optional))
SetOutputChart
pin(LinkableOutput)chart(ChartType (optional))chart_label(str (optional))
Properties
Id
Type: intOperators
PropertyOperators returns the list of Operators added with the method Workflow.Add
Type: list
Inputs
PropertyInputs returns the list of input names that have been exposed with the method Workflow.SetInputName
and its derivates (Workflow.SetInputMeshScoping, Workflow.SetInputBodyScoping…)
Type: list
Outputs
PropertyOutputs returns the list of output names that have been exposed with the method Workflow.SetOutputName
and its derivates (Workflow.SetOutputChart, Workflow.SetOutputContour, Workflow.SetOutputWarpField…)
Type: list