InputsAssembleScalarsToVectorsFc#

class ansys.dpf.core.operators.utility.assemble_scalars_to_vectors_fc.InputsAssembleScalarsToVectorsFc(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to assemble_scalars_to_vectors_fc operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_vectors_fc()
>>> my_x = dpf.FieldsContainer()
>>> op.inputs.x.connect(my_x)
>>> my_y = dpf.FieldsContainer()
>>> op.inputs.y.connect(my_y)
>>> my_z = dpf.FieldsContainer()
>>> op.inputs.z.connect(my_z)

Overview#

connect

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

x

Allows to connect x input to the operator.

y

Allows to connect y input to the operator.

z

Allows to connect z input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.assemble_scalars_to_vectors_fc import InputsAssembleScalarsToVectorsFc

Property detail#

property InputsAssembleScalarsToVectorsFc.x: ansys.dpf.core.inputs.Input[ansys.dpf.core.fields_container.FieldsContainer]#

Allows to connect x 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.assemble_scalars_to_vectors_fc()
>>> op.inputs.x.connect(my_x)
>>> # or
>>> op.inputs.x(my_x)
property InputsAssembleScalarsToVectorsFc.y: ansys.dpf.core.inputs.Input[ansys.dpf.core.fields_container.FieldsContainer]#

Allows to connect y 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.assemble_scalars_to_vectors_fc()
>>> op.inputs.y.connect(my_y)
>>> # or
>>> op.inputs.y(my_y)
property InputsAssembleScalarsToVectorsFc.z: ansys.dpf.core.inputs.Input[ansys.dpf.core.fields_container.FieldsContainer]#

Allows to connect z 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.assemble_scalars_to_vectors_fc()
>>> op.inputs.z.connect(my_z)
>>> # or
>>> op.inputs.z(my_z)

Method detail#

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

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