|
VTK
9.6.1
|
parallel version of vtkConvertToMultiBlockDataSet More...
#include <vtkPConvertToMultiBlockDataSet.h>
parallel version of vtkConvertToMultiBlockDataSet
vtkPConvertToMultiBlockDataSet is the MPI-aware version of vtkConvertToMultiBlockDataSet.
The extra work this filter does it to ensure that each vtkPartitionedDataSet instance in the input when replaced by a vtkMultiPieceDataSet in the output, vtkMultiPieceDataSet has piece counts across ranks such the output multiblock structure is identical on all ranks. vtkPartitionedDataSet / vtkPartitionedDataSetCollection doesn't have this requirement and hence the number of partitions in a vtkPartitionedDataSet` in the input may not be identical on all ranks. Hence, this extra check is needed. */
For export macro
class vtkMultiProcessController; class VTKFILTERSPARALLEL_EXPORT vtkPConvertToMultiBlockDataSet : public vtkConvertToMultiBlockDataSet { public: static vtkPConvertToMultiBlockDataSet* New(); typedef vtkConvertToMultiBlockDataSet Superclass; private: virtual const char* GetClassNameInternal() const; public: static vtkTypeBool IsTypeOf(const char *type); virtual vtkTypeBool IsA(const char *type); static vtkPConvertToMultiBlockDataSet * SafeDownCast(vtkObjectBase *o); protected: virtual vtkObjectBase *NewInstanceInternal() const; public: vtkPConvertToMultiBlockDataSet *NewInstance() const; ; void PrintSelf(ostream& os, vtkIndent indent) override;
/ /** Get/Set the controller to use. By default, initialized to vtkMultiProcessController::GetGlobalController in the constructor.