pysdic.Mesh.validate#

Mesh.validate(*, recursive=True)[source]#

Validate the integrity of the mesh.

The following conditions are checked:

Parameters:

recursive (bool, optional (default: True)) – If True, the point cloud and the connectivity are also validated (see pysdic.PointCloud.validate() and pysdic.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