discretize.CylindricalMesh.equals#
- CylindricalMesh.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_mesh
discretize.base.BaseMesh
An instance of any discretize mesh class.
- other_mesh
- Returns:
- bool
True if meshes are identical and False otherwise.