VTK  9.3.1
vtkPLSDynaReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 
112 #ifndef vtkPLSDynaReader_h
113 #define vtkPLSDynaReader_h
114 
115 #include "vtkIOParallelLSDynaModule.h" // For export macro
116 #include "vtkLSDynaReader.h"
117 
118 VTK_ABI_NAMESPACE_BEGIN
120 class VTKIOPARALLELLSDYNA_EXPORT vtkPLSDynaReader : public vtkLSDynaReader
121 {
122 public:
124  void PrintSelf(ostream& os, vtkIndent indent) override;
125  static vtkPLSDynaReader* New();
126 
130  int CanReadFile(VTK_FILEPATH const char* fname) override;
131 
133 
136  void SetController(vtkMultiProcessController* c);
137  vtkGetObjectMacro(Controller, vtkMultiProcessController);
139 
140 protected:
142  ~vtkPLSDynaReader() override;
143 
146 
147  int ReadTopology() override;
148 
149 private:
150  vtkPLSDynaReader(const vtkPLSDynaReader&) = delete;
151  void operator=(const vtkPLSDynaReader&) = delete;
152 
153  void GetPartRanges(vtkIdType* mins, vtkIdType* maxs);
154 
155  vtkMultiProcessController* Controller;
156 
157  struct vtkPLSDynaReaderInternal;
158  vtkPLSDynaReaderInternal* Internal;
159 };
160 
161 VTK_ABI_NAMESPACE_END
162 #endif // vtkPLSDynaReader_h
Read LS-Dyna databases (d3plot) in parallel.
Store vtkAlgorithm input/output information.
Read LS-Dyna databases (d3plot)
static vtkLSDynaReader * New()
int vtkIdType
Definition: vtkType.h:315
virtual int CanReadFile(VTK_FILEPATH const char *fname)
Determine if the file can be read with this reader.
a simple class to control print indentation
Definition: vtkIndent.h:28
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.
virtual int ReadTopology()
These functions read various parts of the database.
#define VTK_FILEPATH
Store zero or more vtkInformation instances.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Multiprocessing communication superclass.