FreePOOMA  2.4.1
Public Types | Public Member Functions
Pooma::PatchSizeSyncer Class Reference

This class encapsulates the communication that must occur when synchronizing the patch domains for a DynamicLayout. More...

#include <PatchSizeSyncer.h>

List of all members.

Public Types

typedef Grid< 1 > Grid_t

Public Member Functions

 PatchSizeSyncer (int contextKey, Grid_t &localGrid)
 ~PatchSizeSyncer ()
void calcGlobalGrid (Grid_t &globalGrid)

Detailed Description

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.


Member Typedef Documentation


Constructor & Destructor Documentation

Pooma::PatchSizeSyncer::PatchSizeSyncer ( int  contextKey,
Grid_t localGrid 
)

Member Function Documentation


The documentation for this class was generated from the following file: