InputsAssembleScalarsToVectors#
- class ansys.dpf.core.operators.utility.assemble_scalars_to_vectors.InputsAssembleScalarsToVectors(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to assemble_scalars_to_vectors operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.assemble_scalars_to_vectors() >>> my_x = dpf.Field() >>> op.inputs.x.connect(my_x) >>> my_y = dpf.Field() >>> op.inputs.y.connect(my_y) >>> my_z = dpf.Field() >>> op.inputs.z.connect(my_z)
Overview#
Import detail#
from ansys.dpf.core.operators.utility.assemble_scalars_to_vectors import InputsAssembleScalarsToVectors
Property detail#
- property InputsAssembleScalarsToVectors.x: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#
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() >>> op.inputs.x.connect(my_x) >>> # or >>> op.inputs.x(my_x)
- property InputsAssembleScalarsToVectors.y: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#
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() >>> op.inputs.y.connect(my_y) >>> # or >>> op.inputs.y(my_y)
- property InputsAssembleScalarsToVectors.z: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#
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() >>> op.inputs.z.connect(my_z) >>> # or >>> op.inputs.z(my_z)
Method detail#
- InputsAssembleScalarsToVectors.__str__()#
- InputsAssembleScalarsToVectors.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.
- InputsAssembleScalarsToVectors.__call__(inpt)#