pysdic.Mesh.list_precomputed#
- Mesh.list_precomputed()[source]#
List all the keys of the precomputed properties that are currently stored in the mesh.
- Returns:
A list of strings representing the keys of the precomputed properties stored in the mesh.
- Return type:
List[
str]
Examples
Create a simple
Meshinstance.1import numpy as np 2from pysdic import Mesh, PointCloud 3 4points = np.array([[0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, 1], [1, 1, 1]]) 5connectivity = np.array([[0, 1, 2], [0, 1, 3], [0, 2, 3], [1, 2, 3], [1, 2, 4]]) 6mesh3d = Mesh(points, connectivity)
List all the keys of the precomputed properties stored in the mesh.
1precomputed_keys = mesh3d.list_precomputed() 2print(precomputed_keys)