mymesh.mesh.mesh.validate#
- mesh.validate()[source]#
Check validity of the mesh. This will verify that
NodeCoordsandNodeConnare of an appropriate type, confirm the mesh is non-empty, check that elements don’t reference non-existant nodes, and that theTypeis a valid option (‘vol’ or ‘surf’). If any of these checks fail, an assertion error will be raised. Additionally, a warning will be issued if a volume mesh has any inverted elements.