Function t8_forest_is_equal
Defined in File t8_forest_general.h
Function Documentation
-
int t8_forest_is_equal(t8_forest_t forest_a, t8_forest_t forest_b)
Check whether two committed forests have the same local elements.
Note
This function is not collective. It only returns the state on the current rank.
- Parameters:
forest_a – [in] The first forest.
forest_b – [in] The second forest.
- Returns:
True if forest_a and forest_b do have the same number of local trees and each local tree has the same elements, that is t8_element_is_equal returns true for each pair of elements of forest_a and forest_b.