InputsMergeSupports#

class ansys.dpf.core.operators.utility.merge_supports.InputsMergeSupports(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to merge_supports operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.merge_supports()
>>> my_should_merge_named_selections = bool()
>>> op.inputs.should_merge_named_selections.connect(my_should_merge_named_selections)
>>> my_supports1 = dpf.AbstractFieldSupport()
>>> op.inputs.supports1.connect(my_supports1)
>>> my_supports2 = dpf.AbstractFieldSupport()
>>> op.inputs.supports2.connect(my_supports2)

Overview#

connect

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

should_merge_named_selections

Allows to connect should_merge_named_selections input to the operator.

supports1

Allows to connect supports1 input to the operator.

supports2

Allows to connect supports2 input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.merge_supports import InputsMergeSupports

Property detail#

property InputsMergeSupports.should_merge_named_selections: ansys.dpf.core.inputs.Input[bool]#

Allows to connect should_merge_named_selections input to the operator.

For some result files (such as RST), the scoping on names selection is duplicated through all the distributed files.If this pin is false, the merging process is skipped. If it is true, this scoping is merged. Default is true.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.merge_supports()
>>> op.inputs.should_merge_named_selections.connect(my_should_merge_named_selections)
>>> # or
>>> op.inputs.should_merge_named_selections(my_should_merge_named_selections)
property InputsMergeSupports.supports1: ansys.dpf.core.inputs.Input#

Allows to connect supports1 input to the operator.

A vector of supports to merge or supports 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_supports()
>>> op.inputs.supports1.connect(my_supports1)
>>> # or
>>> op.inputs.supports1(my_supports1)
property InputsMergeSupports.supports2: ansys.dpf.core.inputs.Input#

Allows to connect supports2 input to the operator.

A vector of supports to merge or supports 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_supports()
>>> op.inputs.supports2.connect(my_supports2)
>>> # or
>>> op.inputs.supports2(my_supports2)

Method detail#

InputsMergeSupports.__str__()#
InputsMergeSupports.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.

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