VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/AMR/vtkParallelAMRUtilities.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003  Program:   Visualization Toolkit
00004  Module:    vtkAMRUtilities.h
00005 
00006  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007  All rights reserved.
00008  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010  This software is distributed WITHOUT ANY WARRANTY; without even
00011  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012  PURPOSE.  See the above copyright notice for more information.
00013 
00014  =========================================================================*/
00025 #ifndef VTKPARALLELAMRUTILITIES_H_
00026 #define VTKPARALLELAMRUTILITIES_H_
00027 
00028 #include "vtkFiltersAMRModule.h" // For export macro
00029 #include "vtkAMRUtilities.h"
00030 #include <vector> // For C++ vector
00031 
00032 // Forward declarations
00033 class vtkMultiProcessController;
00034 class vtkOverlappingAMR;
00035 
00036 class VTKFILTERSAMR_EXPORT vtkParallelAMRUtilities : public vtkAMRUtilities
00037 {
00038 public:
00039   // Standard Routines
00040   vtkTypeMacro(vtkParallelAMRUtilities,vtkAMRUtilities);
00041   void PrintSelf(ostream& os, vtkIndent indent );
00042 
00044 
00049   static void StripGhostLayers(
00050       vtkOverlappingAMR *ghostedAMRData,
00051       vtkOverlappingAMR *strippedAMRData,
00052       vtkMultiProcessController *myController);
00054 
00056   static void DistributeProcessInformation(vtkOverlappingAMR* amr, vtkMultiProcessController *myController, std::vector<int>& ProcessMap);
00057 
00059   static void BlankCells(vtkOverlappingAMR* amr,  vtkMultiProcessController *myController);
00060 
00061 private:
00062   vtkParallelAMRUtilities(const vtkParallelAMRUtilities&); // Not implemented
00063   void operator=(const vtkParallelAMRUtilities&); // Not implemented
00064 };
00065 
00066 #endif /* VTKPARALLELAMRUTILITIES_H_ */