Skip to main content
Version: 0.0.0

Description

Export a MeshedRegion in the pyVista format.

Inputs

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

coordinates (Pin 2)

  • Required: No
  • Expected type(s): field
Node coordinates. If not set, the node coordinates of the mesh are employed.

as_linear (Pin 6)

  • Required: No
  • Expected type(s): bool
Export a linear version of the mesh (quadratic surface elements do no include midside nodes). If not set, defaults to true.

mesh (Pin 7)

mesh to export in pyVista format

vtk_updated (Pin 60)

  • Required: No
  • Expected type(s): bool
True if the VTK version employed by pyVista is > VTK 9. Default true.

as_poly (Pin 200)

  • Required: No
  • Expected type(s): bool
Export elements as polyhedrons (cell-face-node representation). Default false.

Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

nodes (Pin 0)

  • Expected type(s): field
Node coordinates double vector

cells (Pin 1)

Cell connectivity int vector

cell_types (Pin 2)

Cell types property int vector

offsets (Pin 3)

If vtk_updated=false, offsets int vector

Configurations

This operator supports configuration options that modify its behavior.

mutex

  • Expected type(s): bool
  • Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. Category: mesh Plugin: vtk Scripting name: None Full name: None Internal name: mesh_to_pyvista License: None

Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

Changelog

  • Version 0.0.0: Initial release.