VTK  9.1.0
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 "vtkAMRUtilities.h"
30#include "vtkFiltersAMRModule.h" // For export macro
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) override;
43
53 static void StripGhostLayers(vtkOverlappingAMR* ghostedAMRData,
54 vtkOverlappingAMR* strippedAMRData, vtkMultiProcessController* myController);
55
60 vtkOverlappingAMR* amr, vtkMultiProcessController* myController, std::vector<int>& ProcessMap);
61
65 static void BlankCells(vtkOverlappingAMR* amr, vtkMultiProcessController* myController);
66
67private:
69 void operator=(const vtkParallelAMRUtilities&) = delete;
70};
71
72#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:113
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) override
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.