You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced in 7f4caf7, topology_check_resort returns true as default. This was used in cells_update_ghosts to decide if resorting is necessary or not. Later in 4e468e9, the function was changed to return an unsigned and is currently defined as follows:
Results should semantically be values of enum Cells::Resort.
Now I don't directly do a PR because I don't know what you @fweik intend to be returned here: Cells::Resort::LOCAL or Cells::Resort::GLOBAL. In my opinion it should be GLOBAL. Because if this case would ever happen, we need to return a value v s.t. v >= local_resort on all processes. And this we can guarantee only for GLOBAL.
The text was updated successfully, but these errors were encountered:
Introduced in 7f4caf7,
topology_check_resort
returnstrue
as default. This was used incells_update_ghosts
to decide if resorting is necessary or not. Later in 4e468e9, the function was changed to return anunsigned
and is currently defined as follows:Results should semantically be values of
enum Cells::Resort
.Now I don't directly do a PR because I don't know what you @fweik intend to be returned here:
Cells::Resort::LOCAL
orCells::Resort::GLOBAL
. In my opinion it should beGLOBAL
. Because if this case would ever happen, we need to return a valuev
s.t.v >= local_resort
on all processes. And this we can guarantee only forGLOBAL
.The text was updated successfully, but these errors were encountered: