InputsMakeOverall#

class ansys.dpf.core.operators.utility.make_overall.InputsMakeOverall(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to make_overall operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.make_overall()
>>> my_field = dpf.Field()
>>> op.inputs.field.connect(my_field)
>>> my_id = int()
>>> op.inputs.id.connect(my_id)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

field

Allows to connect field input to the operator.

id

Allows to connect id input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.make_overall import InputsMakeOverall

Property detail#

property InputsMakeOverall.field: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect field input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.make_overall()
>>> op.inputs.field.connect(my_field)
>>> # or
>>> op.inputs.field(my_field)
property InputsMakeOverall.id: ansys.dpf.core.inputs.Input[int]#

Allows to connect id input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.make_overall()
>>> op.inputs.id.connect(my_id)
>>> # or
>>> op.inputs.id(my_id)

Method detail#

InputsMakeOverall.__str__()#
InputsMakeOverall.connect(inpt)#

Connect any input (an entity or an operator output) to any input pin of this operator.

Searches for the input type corresponding to the output.

Deprecated since version Deprecated: in favor of explicit output-to-input connections.

InputsMakeOverall.__call__(inpt)#
InputsMakeOverall.__getitem__(item) → Input#