OutputsMeshToPyvista#

class ansys.dpf.core.operators.mesh.mesh_to_pyvista.OutputsMeshToPyvista(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from mesh_to_pyvista operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_pyvista()
>>> # Connect inputs : op.inputs. ...
>>> result_nodes = op.outputs.nodes()
>>> result_cells = op.outputs.cells()
>>> result_cell_types = op.outputs.cell_types()
>>> result_offsets = op.outputs.offsets()
>>> result_offsets_concatenated_node_indices = op.outputs.offsets_concatenated_node_indices()

Overview#

nodes

Allows to get nodes output of the operator

cells

Allows to get cells output of the operator

cell_types

Allows to get cell_types output of the operator

offsets

Allows to get offsets output of the operator

offsets_concatenated_node_indices

Allows to get offsets_concatenated_node_indices output of the operator

Import detail#

from ansys.dpf.core.operators.mesh.mesh_to_pyvista import OutputsMeshToPyvista

Property detail#

property OutputsMeshToPyvista.nodes: ansys.dpf.core.outputs.Output[ansys.dpf.core.field.Field]#

Allows to get nodes output of the operator

Node coordinates double vector

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_pyvista()
>>> # Get the output from op.outputs. ...
>>> result_nodes = op.outputs.nodes()
property OutputsMeshToPyvista.cells: ansys.dpf.core.outputs.Output#

Allows to get cells output of the operator

Cell connectivity int vector

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_pyvista()
>>> # Get the output from op.outputs. ...
>>> result_cells = op.outputs.cells()
property OutputsMeshToPyvista.cell_types: ansys.dpf.core.outputs.Output#

Allows to get cell_types output of the operator

Cell types property int vector

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_pyvista()
>>> # Get the output from op.outputs. ...
>>> result_cell_types = op.outputs.cell_types()
property OutputsMeshToPyvista.offsets: ansys.dpf.core.outputs.Output#

Allows to get offsets output of the operator

If vtk_updated=false, offsets int vector

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_pyvista()
>>> # Get the output from op.outputs. ...
>>> result_offsets = op.outputs.offsets()
property OutputsMeshToPyvista.offsets_concatenated_node_indices: ansys.dpf.core.outputs.Output#

Allows to get offsets_concatenated_node_indices output of the operator

Offsets to concatenated cell connectivity without node count headers, type int vector

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_pyvista()
>>> # Get the output from op.outputs. ...
>>> result_offsets_concatenated_node_indices = op.outputs.offsets_concatenated_node_indices()

Method detail#

OutputsMeshToPyvista.__getitem__(index) → Output#
OutputsMeshToPyvista.__str__()#