VTK: IO/ParallelXML/vtkXMLPUniformGridAMRWriter.h Source File

| VTK 9.3.1

vtkXMLPUniformGridAMRWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkXMLPUniformGridAMRWriter_h
18 #define vtkXMLPUniformGridAMRWriter_h
19
20 #include "vtkIOParallelXMLModule.h" // For export macro
21 #include "vtkXMLUniformGridAMRWriter.h"
22
23 VTK_ABI_NAMESPACE_BEGIN
24 class vtkMultiProcessController;
25
26 class VTKIOPARALLELXML_EXPORT vtkXMLPUniformGridAMRWriter : public vtkXMLUniformGridAMRWriter
27 {
28 public:
29 static vtkXMLPUniformGridAMRWriter* New();
30 vtkTypeMacro(vtkXMLPUniformGridAMRWriter, vtkXMLUniformGridAMRWriter);
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
41 virtual void SetController(vtkMultiProcessController*);
42 vtkGetObjectMacro(Controller, vtkMultiProcessController);
44
50 void SetWriteMetaFile(int flag) override;
51
52 protected:
53 vtkXMLPUniformGridAMRWriter();
54 ~vtkXMLPUniformGridAMRWriter() override;
55
59 void FillDataTypes(vtkCompositeDataSet*) override;
60
61 vtkMultiProcessController* Controller;
62
63 private:
64 vtkXMLPUniformGridAMRWriter(const vtkXMLPUniformGridAMRWriter&) = delete;
65 void operator=(const vtkXMLPUniformGridAMRWriter&) = delete;
66 };
67
68 VTK_ABI_NAMESPACE_END
69 #endif
vtkCompositeDataSet
abstract superclass for composite (multi-block or AMR) datasets
Definition: vtkCompositeDataSet.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMultiProcessController
Multiprocessing communication superclass.
Definition: vtkMultiProcessController.h:72
vtkXMLPUniformGridAMRWriter
parallel writer for vtkUniformGridAMR and subclasses.
Definition: vtkXMLPUniformGridAMRWriter.h:27
vtkXMLPUniformGridAMRWriter::Controller
vtkMultiProcessController * Controller
Definition: vtkXMLPUniformGridAMRWriter.h:61
vtkXMLPUniformGridAMRWriter::SetController
virtual void SetController(vtkMultiProcessController *)
Controller used to communicate data type of blocks.
vtkXMLPUniformGridAMRWriter::~vtkXMLPUniformGridAMRWriter
~vtkXMLPUniformGridAMRWriter() override
vtkXMLPUniformGridAMRWriter::SetWriteMetaFile
void SetWriteMetaFile(int flag) override
Set whether this instance will write the meta-file.
vtkXMLPUniformGridAMRWriter::vtkXMLPUniformGridAMRWriter
vtkXMLPUniformGridAMRWriter()
vtkXMLPUniformGridAMRWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkXMLPUniformGridAMRWriter::FillDataTypes
void FillDataTypes(vtkCompositeDataSet *) override
Overridden to reduce information about data-types across all processes.
vtkXMLPUniformGridAMRWriter::New
static vtkXMLPUniformGridAMRWriter * New()
vtkXMLUniformGridAMRWriter
writer for vtkUniformGridAMR.
Definition: vtkXMLUniformGridAMRWriter.h:23
vtkXMLUniformGridAMRWriter.h