#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) |
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 | |||
) |
Pooma::PatchSizeSyncer::~PatchSizeSyncer | ( | ) |
void Pooma::PatchSizeSyncer::calcGlobalGrid | ( | Grid_t & | globalGrid | ) |