InputsMergeResultInfos#
- class ansys.dpf.core.operators.utility.merge_result_infos.InputsMergeResultInfos(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to merge_result_infos operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.merge_result_infos() >>> my_result_infos1 = dpf.ResultInfo() >>> op.inputs.result_infos1.connect(my_result_infos1) >>> my_result_infos2 = dpf.ResultInfo() >>> op.inputs.result_infos2.connect(my_result_infos2)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect result_infos1 input to the operator. |
|
Allows to connect result_infos2 input to the operator. |
Import detail#
from ansys.dpf.core.operators.utility.merge_result_infos import InputsMergeResultInfos
Property detail#
- property InputsMergeResultInfos.result_infos1: ansys.dpf.core.inputs.Input[ansys.dpf.core.result_info.ResultInfo]#
Allows to connect result_infos1 input to the operator.
A vector of result info containers to merge or result infos from pin 0 to …
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.merge_result_infos() >>> op.inputs.result_infos1.connect(my_result_infos1) >>> # or >>> op.inputs.result_infos1(my_result_infos1)
- property InputsMergeResultInfos.result_infos2: ansys.dpf.core.inputs.Input[ansys.dpf.core.result_info.ResultInfo]#
Allows to connect result_infos2 input to the operator.
A vector of result info containers to merge or result infos from pin 0 to …
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.merge_result_infos() >>> op.inputs.result_infos2.connect(my_result_infos2) >>> # or >>> op.inputs.result_infos2(my_result_infos2)
Method detail#
- InputsMergeResultInfos.__str__()#
- InputsMergeResultInfos.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.
- InputsMergeResultInfos.__call__(inpt)#