pysdic.Mesh.validate#
- Mesh.validate(*, recursive=True)[source]#
Validate the integrity of the mesh.
The following conditions are checked:
The vertices are a
pysdic.PointCloudand the connectivity apysdic.Connectivity.All the vertex indices of the elements are lower than \(N_v\).
- Parameters:
recursive (bool, optional (default:
True)) – If True, the point cloud and the connectivity are also validated (seepysdic.PointCloud.validate()andpysdic.Connectivity.validate()).- Raises:
TypeError – If an attribute has a wrong type.
ValueError – If an attribute has a wrong shape or value.
IndexError – If a vertex index is out of \([0, N_v)\).
- Return type:
None