InputsTranspose
#
- class ansys.dpf.core.operators.scoping.transpose.InputsTranspose(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._Inputs
Intermediate class used to connect user inputs to transpose operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.scoping.transpose() >>> my_mesh_scoping = dpf.Scoping() >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) >>> my_meshed_region = dpf.MeshedRegion() >>> op.inputs.meshed_region.connect(my_meshed_region) >>> my_inclusive = int() >>> op.inputs.inclusive.connect(my_inclusive) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location)
Overview#
Allows to connect mesh_scoping input to the operator. |
|
Allows to connect meshed_region input to the operator. |
|
Allows to connect inclusive input to the operator. |
|
Allows to connect requested_location input to the operator. |
Import detail#
from ansys.dpf.core.operators.scoping.transpose import InputsTranspose
Property detail#
- property InputsTranspose.mesh_scoping#
Allows to connect mesh_scoping input to the operator.
Scoping or scopings container (the input type is the output type)
- Parameters:
my_mesh_scoping (Scoping or ScopingsContainer)
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.scoping.transpose() >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) >>> # or >>> op.inputs.mesh_scoping(my_mesh_scoping)
- property InputsTranspose.meshed_region#
Allows to connect meshed_region input to the operator.
- Parameters:
my_meshed_region (MeshedRegion or MeshesContainer)
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.scoping.transpose() >>> op.inputs.meshed_region.connect(my_meshed_region) >>> # or >>> op.inputs.meshed_region(my_meshed_region)
- property InputsTranspose.inclusive#
Allows to connect inclusive input to the operator.
If inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included
- Parameters:
my_inclusive (int)
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.scoping.transpose() >>> op.inputs.inclusive.connect(my_inclusive) >>> # or >>> op.inputs.inclusive(my_inclusive)
- property InputsTranspose.requested_location#
Allows to connect requested_location input to the operator.
Output scoping location for meshes with nodes, faces and elements. by default, elemental and faces scopings transpose to nodal, and nodal scopings transpose to elemental.
- Parameters:
my_requested_location (str)
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.scoping.transpose() >>> op.inputs.requested_location.connect(my_requested_location) >>> # or >>> op.inputs.requested_location(my_requested_location)