OutputsForward#

class ansys.dpf.core.operators.utility.forward.OutputsForward(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from forward operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.forward()
>>> # 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.forward import OutputsForward

Property detail#

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

Allows to get any1 output of the operator

same types as inputs

Returns:

An Output instance for this pin.

Return type:

output

Examples

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

Allows to get any2 output of the operator

same types as inputs

Returns:

An Output instance for this pin.

Return type:

output

Examples

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

Method detail#

OutputsForward.__getattr__(name)#
OutputsForward.__getitem__(index) → Output#
OutputsForward.__str__()#