InputsFindReducedCoordinates#

class ansys.dpf.core.operators.mapping.find_reduced_coordinates.InputsFindReducedCoordinates(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to find_reduced_coordinates operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.find_reduced_coordinates()
>>> my_coordinates = dpf.Field()
>>> op.inputs.coordinates.connect(my_coordinates)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
>>> my_use_quadratic_elements = bool()
>>> op.inputs.use_quadratic_elements.connect(my_use_quadratic_elements)

Overview#

connect

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

coordinates

Allows to connect coordinates input to the operator.

mesh

Allows to connect mesh input to the operator.

use_quadratic_elements

Allows to connect use_quadratic_elements input to the operator.

Import detail#

from ansys.dpf.core.operators.mapping.find_reduced_coordinates import InputsFindReducedCoordinates

Property detail#

property InputsFindReducedCoordinates.coordinates: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field | ansys.dpf.core.fields_container.FieldsContainer | ansys.dpf.core.meshed_region.MeshedRegion | ansys.dpf.core.meshes_container.MeshesContainer]#

Allows to connect coordinates 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.mapping.find_reduced_coordinates()
>>> op.inputs.coordinates.connect(my_coordinates)
>>> # or
>>> op.inputs.coordinates(my_coordinates)
property InputsFindReducedCoordinates.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.

If the first field in input has no mesh in support, then the mesh in this pin is expected (default is false). If a meshes container with several meshes is set, it should be on the same label spaces as the coordinates fields container.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.find_reduced_coordinates()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)
property InputsFindReducedCoordinates.use_quadratic_elements: ansys.dpf.core.inputs.Input[bool]#

Allows to connect use_quadratic_elements input to the operator.

If this pin is set to true, reduced coordinates are computed on the quadratic element if the element is quadratic (more precise but less performant). Default is false.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.find_reduced_coordinates()
>>> op.inputs.use_quadratic_elements.connect(my_use_quadratic_elements)
>>> # or
>>> op.inputs.use_quadratic_elements(my_use_quadratic_elements)

Method detail#

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

InputsFindReducedCoordinates.__call__(inpt)#
InputsFindReducedCoordinates.__getitem__(item) Input#