Go to the documentation of this file.
25 #ifndef vtkDIYAggregateDataSetFilter_h
26 #define vtkDIYAggregateDataSetFilter_h
28 #include "vtkFiltersParallelDIY2Module.h"
72 int* overlappingExtent);
89 std::map<int, std::string>& serializedDataSets,
90 std::vector<std::string>& receivedDataSets);
95 int MoveData(
int inputExtent[6],
int wholeExtent[6],
int outputExtent[6],
96 std::map<int, std::string>& serializedDataSets,
97 std::vector<std::string>& receivedDataSets);
104 int inputExent[6],
int wholeExtent[6],
int outputExtent[6],
vtkIdList* processesIReceiveFrom);
120 bool OutputInitialized;
~vtkDIYAggregateDataSetFilter() override
void ExtractDataSetInformation(vtkDataSet *source, vtkDataSet *target)
Extract information from source dataset into target dataset.
void ExtractRectilinearGridCoordinates(int *sourceExtent, int *targetExtent, vtkDataArray *sourceCoordinates, vtkDataArray *targetCoordinates)
Put appropriate values from sourceCoordinates into targetCoordinates based on the extents overlap.
static vtkDIYAggregateDataSetFilter * New()
int MoveData(int inputExtent[6], int wholeExtent[6], int outputExtent[6], std::map< int, std::string > &serializedDataSets, std::vector< std::string > &receivedDataSets)
Move data directly with vtkMPIController.
abstract superclass for arrays of numeric data
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Aggregates data sets to a reduced number of processes.
void ComputeProcessesIReceiveFrom(int inputExent[6], int wholeExtent[6], int outputExtent[6], vtkIdList *processesIReceiveFrom)
Determine which processes I receive data and put those process ranks (in order) into processesIReceiv...
a simple class to control print indentation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
list of point or cell ids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GetExtent(vtkDataSet *dataSet, int extent[6])
Get the extent of the topologically regular dataset.
abstract class to specify dataset behavior
Aggregates data sets to a reduced number of processes.
int GetTargetProcessId(int sourceProcessId, int numberOfProcesses)
Given a source process id and number of processes, return a target process id for the aggregate opera...
vtkDIYAggregateDataSetFilter()
bool DoExtentsOverlap(int extent1[6], int extent2[6], int dimensions[3], int *overlappingExtent)
Given two extents and dimensions (marking whether or not we have cells in that dimension with a value...
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
boost::graph_traits< vtkGraph * >::vertex_descriptor target(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
general representation of visualization data
int MoveDataWithDIY(int inputExtent[6], int wholeExtent[6], int outputExtent[6], std::map< int, std::string > &serializedDataSets, std::vector< std::string > &receivedDataSets)
Move data with DIY.