VTK  9.2.6
vtkPOpenFOAMReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPOpenFOAMReader.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=========================================================================*/
32
33#ifndef vtkPOpenFOAMReader_h
34#define vtkPOpenFOAMReader_h
35
36#include "vtkIOParallelModule.h" // For export macro
37#include "vtkOpenFOAMReader.h"
38
41
42class VTKIOPARALLEL_EXPORT vtkPOpenFOAMReader : public vtkOpenFOAMReader
43{
44public:
50
53
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
60 void SetCaseType(const int t);
61 vtkGetMacro(CaseType, caseType);
64
68 vtkGetObjectMacro(Controller, vtkMultiProcessController);
70
71protected:
74
77
78private:
79 vtkMultiProcessController* Controller;
80 caseType CaseType;
81 vtkMTimeType MTimeOld;
82 int NumProcesses;
83 int ProcessId;
84
86 void operator=(const vtkPOpenFOAMReader&) = delete;
87
88 void GatherMetaData();
89 void BroadcastStatus(int&);
90 void Broadcast(vtkStringArray*);
91 void AllGather(vtkStringArray*);
92 void AllGather(vtkDataArraySelection*);
93};
94
95#endif
Store on/off settings for data arrays, etc.
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
void SetCaseType(const int t)
Set and get case type.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPOpenFOAMReader() override
static vtkPOpenFOAMReader * New()
virtual void SetController(vtkMultiProcessController *)
Set and get the controller.
a vtkAbstractArray subclass for strings
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287