diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-05-20 15:21:25 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-05-20 15:21:25 -0500 |
commit | 0cda1e7edaaecd1e4e06bb991433ba666704e388 (patch) | |
tree | 7037d1d7438c70c9fb364fbd0ab3e78c7bc12abc /Carpet/CarpetLib/src/gh.hh | |
parent | a65814adf370180602132a7174e4f925c86d876e (diff) |
CarpetLib: Correct regridding communication schedule
Handle correctly the case where the multi-patch processor decomposition
changes during regridding.
Diffstat (limited to 'Carpet/CarpetLib/src/gh.hh')
-rw-r--r-- | Carpet/CarpetLib/src/gh.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/gh.hh b/Carpet/CarpetLib/src/gh.hh index 4d1592120..0a283b4cf 100644 --- a/Carpet/CarpetLib/src/gh.hh +++ b/Carpet/CarpetLib/src/gh.hh @@ -96,6 +96,11 @@ public: return regions.AT(0).AT(rl).AT(c).processor; } + int old_processor (const int rl, const int c) const + { + return oldregions.AT(0).AT(rl).AT(c).processor; + } + int mglevels () const { return (int)regions.size(); |