31 #ifndef VTKAMRUTILITIES_H_
32 #define VTKAMRUTILITIES_H_
34 #include "vtkFiltersAMRModule.h"
35 #include "vtkObject.h"
41 class vtkMultiProcessController;
42 class vtkOverlappingAMR;
43 class vtkUniformGridAMR;
45 class vtkAMRInformation;
52 void PrintSelf(ostream& os, vtkIndent indent );
60 static void StripGhostLayers(
61 vtkOverlappingAMR *ghostedAMRData,
62 vtkOverlappingAMR *strippedAMRData,
63 vtkMultiProcessController *myController=NULL);
71 static bool HasPartiallyOverlappingGhostCells(vtkOverlappingAMR *amr);
74 static void DistributeProcessInformation(vtkOverlappingAMR* amr, vtkMultiProcessController *myController, std::vector<int>& ProcessMap);
77 static void BlankCells(vtkOverlappingAMR* amr, vtkMultiProcessController *myController);
86 static void CopyFieldsWithinRealExtent(
88 vtkUniformGrid *ghostedGrid,
89 vtkUniformGrid *strippedGrid);
94 static void CopyFieldData(
95 vtkFieldData *
target, vtkIdType targetIdx,
96 vtkFieldData *
source, vtkIdType sourceIdx );
105 static vtkUniformGrid* StripGhostLayersFromGrid(
106 vtkUniformGrid* grid,
int ghost[6]);
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)