[parallel] Uncomment the parallel interface member functions
1 unresolved thread
1 unresolved thread
Communicate seems to be required by DefaultGridView. I'm not sure why this wasn't a problem before as DefaultGridView doesn't seem to have changed.
Merge request reports
Activity
added 6 commits
-
81916edc...2770f9d8 - 5 commits from branch
master
- 7d8d1359 - [parallel] Uncomment the parallel interface member functions
-
81916edc...2770f9d8 - 5 commits from branch
534 534 return 0; 535 535 } 536 536 537 538 #if 0 539 537 /** \brief Distributes this grid over the available nodes in a distributed machine 540 538 * 541 539 * \param minlevel The coarsest grid level that gets distributed 542 540 * \param maxlevel does currently get ignored 543 541 */ 544 void loadBalance(int strategy, int minlevel, int depth, int maxlevel, int minelement){ 545 DUNE_THROW(NotImplemented, "FoamGrid::loadBalance()"); 546 } 542 void loadBalance(int strategy, int minlevel, int depth, int maxlevel, int minelement) {} It makes it easier to write generic tests, otherwise I always have to check the number of ranks before a call to
loadBalance
. I don't know if it's guaranteed thatloadBalance
is a no-op for one process, but I would expect that fromloadBalance
. How about only throwing the exception ifcomm.size() > 1
?That's true. Throwing only if comm.size()>1 seems like a good idea.
changed this line in version 3 of the diff
added 1 commit
- a2628f09 - [parallel] Uncomment the parallel interface member functions
mentioned in commit 5107b112
Please register or sign in to reply