InputsNodeCoordinates#

class ansys.dpf.core.operators.mesh.node_coordinates.InputsNodeCoordinates(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to node_coordinates operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.node_coordinates()
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)

Overview#

connect

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

mesh

Allows to connect mesh input to the operator.

Import detail#

from ansys.dpf.core.operators.mesh.node_coordinates import InputsNodeCoordinates

Property detail#

property InputsNodeCoordinates.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion | ansys.dpf.core.meshes_container.MeshesContainer]#

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.mesh.node_coordinates()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)

Method detail#

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

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