InputsIsoSurfaces#
- class ansys.dpf.core.operators.mesh.iso_surfaces.InputsIsoSurfaces(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to iso_surfaces operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.iso_surfaces() >>> my_field = dpf.Field() >>> op.inputs.field.connect(my_field) >>> my_num_surfaces = int() >>> op.inputs.num_surfaces.connect(my_num_surfaces) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_slice_surfaces = bool() >>> op.inputs.slice_surfaces.connect(my_slice_surfaces) >>> my_vector_iso_values = dpf.() >>> op.inputs.vector_iso_values.connect(my_vector_iso_values)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect field input to the operator. |
|
Allows to connect num_surfaces input to the operator. |
|
Allows to connect mesh input to the operator. |
|
Allows to connect slice_surfaces input to the operator. |
|
Allows to connect vector_iso_values input to the operator. |
Import detail#
from ansys.dpf.core.operators.mesh.iso_surfaces import InputsIsoSurfaces
Property detail#
- property InputsIsoSurfaces.field: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#
Allows to connect field input to the operator.
Field containing the values for the iso-surface computation. The mesh can be retrieved from this field’s support or through pin 2.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.iso_surfaces() >>> op.inputs.field.connect(my_field) >>> # or >>> op.inputs.field(my_field)
- property InputsIsoSurfaces.num_surfaces: ansys.dpf.core.inputs.Input[int]#
Allows to connect num_surfaces input to the operator.
If provided, iso_values are linearly computed between the min and the max of the field of results. If not, iso_values must be provided by the user through pin 4
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.iso_surfaces() >>> op.inputs.num_surfaces.connect(my_num_surfaces) >>> # or >>> op.inputs.num_surfaces(my_num_surfaces)
- property InputsIsoSurfaces.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#
Allows to connect mesh input to the operator.
Mesh to compute the iso-surface from. Used when not given through the support of the field in pin 0.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.iso_surfaces() >>> op.inputs.mesh.connect(my_mesh) >>> # or >>> op.inputs.mesh(my_mesh)
- property InputsIsoSurfaces.slice_surfaces: ansys.dpf.core.inputs.Input[bool]#
Allows to connect slice_surfaces input to the operator.
True: slicing will also take into account shell and skin elements. False: slicing will ignore shell and skin elements. The default is true.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.iso_surfaces() >>> op.inputs.slice_surfaces.connect(my_slice_surfaces) >>> # or >>> op.inputs.slice_surfaces(my_slice_surfaces)
- property InputsIsoSurfaces.vector_iso_values: ansys.dpf.core.inputs.Input#
Allows to connect vector_iso_values input to the operator.
If provided, user defined iso_values to compute. If not provided, iso_values are linearly compute between the min and the max of the field of results.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.mesh.iso_surfaces() >>> op.inputs.vector_iso_values.connect(my_vector_iso_values) >>> # or >>> op.inputs.vector_iso_values(my_vector_iso_values)
Method detail#
- InputsIsoSurfaces.__str__()#
- InputsIsoSurfaces.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.
- InputsIsoSurfaces.__call__(inpt)#