|
FreePOOMA
2.4.1
|
This class encapsulates the communication that must occur when synchronizing the patch domains for a DynamicLayout. More...
#include <PatchSizeSyncer.h>
Public Types | |
| typedef Grid< 1 > | Grid_t |
Public Member Functions | |
| PatchSizeSyncer (int contextKey, Grid_t &localGrid) | |
| ~PatchSizeSyncer () | |
| void | calcGlobalGrid (Grid_t &globalGrid) |
This class encapsulates the communication that must occur when synchronizing the patch domains for a DynamicLayout.
PatchSizeSyncer is used by instantiating a version with a Grid<1> object representing one's local patches and then calling calcGlobalGrid with a grid object that will be filled with the redistributed patches for the global Grid. The DynamicLayout can then re-label the domains in its Nodes to match the new patch distribution.
| typedef Grid<1> Pooma::PatchSizeSyncer::Grid_t |
| Pooma::PatchSizeSyncer::PatchSizeSyncer | ( | int | contextKey, |
| Grid_t & | localGrid | ||
| ) |
| void Pooma::PatchSizeSyncer::calcGlobalGrid | ( | Grid_t & | globalGrid | ) |
1.7.6.1