discretize.SimplexMesh.equals#

SimplexMesh.equals(other_mesh)[source]#

Compare the current mesh with another mesh to determine if they are identical.

This method compares all the properties of the current mesh to other_mesh and determines if both meshes are identical. If so, this function returns a boolean value of True . Otherwise, the function returns False .

Parameters:
other_meshdiscretize.base.BaseMesh

An instance of any discretize mesh class.

Returns:
bool

True if meshes are identical and False otherwise.