OutputsDelegateToOperator#

class ansys.dpf.core.operators.utility.delegate_to_operator.OutputsDelegateToOperator(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from delegate_to_operator operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.delegate_to_operator()
>>> # Connect inputs : op.inputs. ...
>>> result_any1 = op.outputs.any1()
>>> result_any2 = op.outputs.any2()

Overview#

any1

Allows to get any1 output of the operator

any2

Allows to get any2 output of the operator

Import detail#

from ansys.dpf.core.operators.utility.delegate_to_operator import OutputsDelegateToOperator

Property detail#

property OutputsDelegateToOperator.any1: ansys.dpf.core.outputs.Output[ansys.dpf.core.any.Any]#

Allows to get any1 output of the operator

inputs

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.delegate_to_operator()
>>> # Get the output from op.outputs. ...
>>> result_any1 = op.outputs.any1()
property OutputsDelegateToOperator.any2: ansys.dpf.core.outputs.Output[ansys.dpf.core.any.Any]#

Allows to get any2 output of the operator

inputs

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.delegate_to_operator()
>>> # Get the output from op.outputs. ...
>>> result_any2 = op.outputs.any2()

Method detail#

OutputsDelegateToOperator.__getitem__(index) → Output#
OutputsDelegateToOperator.__str__()#