Skip to main content

mesh:mesh to pyvista

Version: 0.0.0

Description

Export a MeshedRegion in the pyVista format.

Inputs

InputNameExpected type(s)Description
Pin 2coordinatesfieldNode coordinates. If not set, the node coordinates of the mesh are employed.
Pin 6as_linearboolExport a linear version of the mesh (quadratic surface elements do no include midside nodes). If not set, defaults to true.
Pin 7
Required
meshabstract_meshed_regionmesh to export in pyVista format
Pin 60vtk_updatedboolTrue if the VTK version employed by pyVista is > VTK 9. Default true.
Pin 200as_polyboolExport elements as polyhedrons (cell-face-node representation). Default false.

Outputs

OutputNameExpected type(s)Description
Pin 0nodesfieldNode coordinates double vector
Pin 1cellsvector<int32>Cell connectivity int vector
Pin 2cell_typesvector<int32>Cell types property int vector
Pin 3offsetsvector<int32>If vtk_updated=false, offsets int vector

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: mesh

Plugin: vtk

Scripting name: None

Full name: None

Internal name: mesh_to_pyvista

License: None

Changelog

  • Version 0.0.0: Initial release.