Skip to content

Commit 99a3659

Browse files
committed
Gridbased: Allow synchronization of partitioning
1 parent 3c4e693 commit 99a3659

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

repa/grids/gridbased.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,12 @@ void GridBasedGrid::command(std::string s)
482482
std::cout << "Setting mu = " << mu << std::endl;
483483
#endif
484484
}
485+
else if (s == "synchronize") {
486+
// This does not set a regular grid. It only indicates that
487+
// the class should store all subdomains and not only the neighboring.
488+
is_regular_grid = true;
489+
init_octagons();
490+
}
485491
}
486492

487493
} // namespace grids

0 commit comments

Comments
 (0)