InputsEulerNodes#
- class ansys.dpf.core.operators.result.euler_nodes.InputsEulerNodes(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to euler_nodes operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.euler_nodes() >>> my_streams_container = dpf.StreamsContainer() >>> op.inputs.streams_container.connect(my_streams_container) >>> my_data_sources = dpf.DataSources() >>> op.inputs.data_sources.connect(my_data_sources) >>> my_filter_zeros = bool() >>> op.inputs.filter_zeros.connect(my_filter_zeros) >>> my_coord_and_euler = bool() >>> op.inputs.coord_and_euler.connect(my_coord_and_euler) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect streams_container input to the operator. |
|
Allows to connect data_sources input to the operator. |
|
Allows to connect filter_zeros input to the operator. |
|
Allows to connect coord_and_euler input to the operator. |
|
Allows to connect mesh input to the operator. |
Import detail#
from ansys.dpf.core.operators.result.euler_nodes import InputsEulerNodes
Property detail#
- property InputsEulerNodes.streams_container: ansys.dpf.core.inputs.Input[ansys.dpf.core.streams_container.StreamsContainer]#
Allows to connect streams_container 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.result.euler_nodes() >>> op.inputs.streams_container.connect(my_streams_container) >>> # or >>> op.inputs.streams_container(my_streams_container)
- property InputsEulerNodes.data_sources: ansys.dpf.core.inputs.Input[ansys.dpf.core.data_sources.DataSources]#
Allows to connect data_sources 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.result.euler_nodes() >>> op.inputs.data_sources.connect(my_data_sources) >>> # or >>> op.inputs.data_sources(my_data_sources)
- property InputsEulerNodes.filter_zeros: ansys.dpf.core.inputs.Input[bool]#
Allows to connect filter_zeros input to the operator.
if true, then the field will only contain the scoping if any rotation is not zero. (default is false).
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.euler_nodes() >>> op.inputs.filter_zeros.connect(my_filter_zeros) >>> # or >>> op.inputs.filter_zeros(my_filter_zeros)
- property InputsEulerNodes.coord_and_euler: ansys.dpf.core.inputs.Input[bool]#
Allows to connect coord_and_euler input to the operator.
if true, then the field has ncomp=6 with 3 coordinates and 3 Euler angles, else there is only the Euler angles (default is true).
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.euler_nodes() >>> op.inputs.coord_and_euler.connect(my_coord_and_euler) >>> # or >>> op.inputs.coord_and_euler(my_coord_and_euler)
- property InputsEulerNodes.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#
Allows to connect mesh 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.result.euler_nodes() >>> op.inputs.mesh.connect(my_mesh) >>> # or >>> op.inputs.mesh(my_mesh)
Method detail#
- InputsEulerNodes.__str__()#
- InputsEulerNodes.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.
- InputsEulerNodes.__call__(inpt)#