Pooma::PatchSizeSyncer Class Reference

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

#include <PatchSizeSyncer.h>

Collaboration diagram for Pooma::PatchSizeSyncer:

Collaboration graph
[legend]

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 
)

Pooma::PatchSizeSyncer::~PatchSizeSyncer (  ) 


Member Function Documentation

void Pooma::PatchSizeSyncer::calcGlobalGrid ( Grid_t globalGrid  ) 


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

Generated on Wed Mar 16 06:22:48 2011 for FreePOOMA by  doxygen 1.5.9