mesh:mesh to pyvista
Version: 0.0.0
Description
Export a MeshedRegion in the pyVista format.
Inputs
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 2 | coordinates | field | Node coordinates. If not set, the node coordinates of the mesh are employed. |
| Pin 6 | as_linear | bool | Export a linear version of the mesh (quadratic surface elements do no include midside nodes). If not set, defaults to true. |
| Pin 7 Required | mesh | abstract_meshed_region | mesh to export in pyVista format |
| Pin 60 | vtk_updated | bool | True if the VTK version employed by pyVista is > VTK 9. Default true. |
| Pin 200 | as_poly | bool | Export elements as polyhedrons (cell-face-node representation). Default false. |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | nodes | field | Node coordinates double vector |
| Pin 1 | cells | vector<int32> | Cell connectivity int vector |
| Pin 2 | cell_types | vector<int32> | Cell types property int vector |
| Pin 3 | offsets | vector<int32> | If vtk_updated=false, offsets int vector |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If 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.