VTK  9.3.1
vtkIOSSModel.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
12 #ifndef vtkIOSSModel_h
13 #define vtkIOSSModel_h
14 
15 #include "vtkObject.h"
16 #include <memory> // for std::unique_ptr
17 
18 // Ioss includes
19 #include <vtk_ioss.h>
20 // clang-format off
21 #include VTK_IOSS(Ioss_Region.h)
22 // clang-format on
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class vtkIOSSWriter;
27 
29 {
30 public:
32  ~vtkIOSSModel();
33 
34  void DefineModel(Ioss::Region& region) const;
35  void DefineTransient(Ioss::Region& region) const;
36  void Model(Ioss::Region& region) const;
37  void Transient(Ioss::Region& region, double time) const;
38 
45  std::string MD5() const;
46 
51  bool GlobalIdsCreated() const;
52 
57  bool GlobalIdsModified() const;
58 
62  bool ElementSideCouldNotBeCreated() const;
63 
68  bool ElementSideModified() const;
69 
74  bool ElementSideCouldNotBeModified() const;
75 
76 private:
77  vtkIOSSModel(const vtkIOSSModel&) = delete;
78  void operator=(const vtkIOSSModel&) = delete;
79 
80  class vtkInternals;
81  std::unique_ptr<vtkInternals> Internals;
82 };
83 VTK_ABI_NAMESPACE_END
84 
85 #endif
86 // VTK-HeaderTest-Exclude: vtkIOSSModel.h
bool ElementSideCouldNotBeModified() const
Returns true if the element_side was invalid, and therefore could not be modified for this model...
vtkIOSSModel(vtkPartitionedDataSetCollection *pdc, vtkIOSSWriter *self)
void DefineTransient(Ioss::Region &region) const
internal class used by vtkIOSSWriter
Definition: vtkIOSSModel.h:28
bool GlobalIdsCreated() const
Returns true if the global ids have been created for this model, because they were not present in the...
std::string MD5() const
Generates an MD5 sum summarizing the model.
void DefineModel(Ioss::Region &region) const
Writer for IOSS (Sierra IO System)
bool GlobalIdsModified() const
Returns true if the global ids have been modified for this model, because they were invalid in the in...
void Transient(Ioss::Region &region, double time) const
bool ElementSideModified() const
Returns true if the element_side has been modified for this model, because it was invalid...
bool ElementSideCouldNotBeCreated() const
Returns true if the element_side was not present for this model.
void Model(Ioss::Region &region) const
Composite dataset that groups datasets as a collection.