VTK
vtkParallelAMRUtilities.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAMRUtilities.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14 =========================================================================*/
26#ifndef vtkParallelAMRUtilities_h
27#define vtkParallelAMRUtilities_h
28
29#include "vtkFiltersAMRModule.h" // For export macro
30#include "vtkAMRUtilities.h"
31#include <vector> // For C++ vector
32
33// Forward declarations
36
37class VTKFILTERSAMR_EXPORT vtkParallelAMRUtilities : public vtkAMRUtilities
38{
39public:
40 // Standard Routines
42 void PrintSelf(ostream& os, vtkIndent indent );
43
53 static void StripGhostLayers(
54 vtkOverlappingAMR *ghostedAMRData,
55 vtkOverlappingAMR *strippedAMRData,
56 vtkMultiProcessController *myController);
57
61 static void DistributeProcessInformation(vtkOverlappingAMR* amr, vtkMultiProcessController *myController, std::vector<int>& ProcessMap);
62
66 static void BlankCells(vtkOverlappingAMR* amr, vtkMultiProcessController *myController);
67
68private:
69 vtkParallelAMRUtilities(const vtkParallelAMRUtilities&) VTK_DELETE_FUNCTION;
70 void operator=(const vtkParallelAMRUtilities&) VTK_DELETE_FUNCTION;
71};
72
73#endif /* vtkParallelAMRUtilities_h */
A concrete instance of vtkObject that employs a singleton design pattern and implements functionality...
a simple class to control print indentation
Definition: vtkIndent.h:40
Multiprocessing communication superclass.
hierarchical dataset of vtkUniformGrids
A concrete instance of vtkObject that employs a singleton design pattern and implements functionality...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static void DistributeProcessInformation(vtkOverlappingAMR *amr, vtkMultiProcessController *myController, std::vector< int > &ProcessMap)
Compute map from block indices to process ids.
static void BlankCells(vtkOverlappingAMR *amr, vtkMultiProcessController *myController)
Blank cells in overlapping AMR.
static void StripGhostLayers(vtkOverlappingAMR *ghostedAMRData, vtkOverlappingAMR *strippedAMRData, vtkMultiProcessController *myController)
This method detects and strips partially overlapping cells from a given AMR dataset.