166#include "vtkIOIOSSModule.h"
172VTK_ABI_NAMESPACE_BEGIN
206 vtkSetStringMacro(DatabaseTypeOverride);
207 vtkGetStringMacro(DatabaseTypeOverride);
231 vtkBooleanMacro(GroupNumericVectorFieldComponents,
bool);
244 vtkBooleanMacro(GroupAlphabeticVectorFieldComponents,
bool);
261 vtkGetMacro(ScanForRelatedFiles,
bool);
262 vtkBooleanMacro(ScanForRelatedFiles,
bool);
279 vtkSetVector2Macro(FileRange,
int);
280 vtkGetVector2Macro(FileRange,
int);
282 vtkGetMacro(FileStride,
int);
292 vtkGetMacro(Caching,
bool);
293 vtkBooleanMacro(Caching,
bool);
303 vtkGetMacro(MergeExodusEntityBlocks,
bool);
304 vtkBooleanMacro(MergeExodusEntityBlocks,
bool);
319 vtkGetMacro(ElementAndSideIds,
bool);
320 vtkBooleanMacro(ElementAndSideIds,
bool);
331 vtkSetMacro(GenerateFileId,
bool);
332 vtkGetMacro(GenerateFileId,
bool);
333 vtkBooleanMacro(GenerateFileId,
bool);
341 vtkSetMacro(ReadIds,
bool);
342 vtkGetMacro(ReadIds,
bool);
343 vtkBooleanMacro(ReadIds,
bool);
356 vtkGetMacro(RemoveUnusedPoints,
bool);
357 vtkBooleanMacro(RemoveUnusedPoints,
bool);
365 vtkSetMacro(ApplyDisplacements,
bool);
366 vtkGetMacro(ApplyDisplacements,
bool);
367 vtkBooleanMacro(ApplyDisplacements,
bool);
396 vtkGetMacro(ReadAllFilesToDetermineStructure,
bool);
397 vtkBooleanMacro(ReadAllFilesToDetermineStructure,
bool);
405 vtkSetMacro(ReadQAAndInformationRecords,
bool);
406 vtkGetMacro(ReadQAAndInformationRecords,
bool);
407 vtkBooleanMacro(ReadQAAndInformationRecords,
bool);
699 bool MergeExodusEntityBlocks;
700 bool ElementAndSideIds;
702 bool ScanForRelatedFiles;
704 bool RemoveUnusedPoints;
705 bool ApplyDisplacements;
706 bool ReadAllFilesToDetermineStructure;
707 bool ReadQAAndInformationRecords;
708 char* DatabaseTypeOverride;
Store on/off settings for data arrays, etc.
hierarchical representation to use with vtkPartitionedDataSetCollection
general representation of visualization data
Internal methods and state for the IOSS reader.
vtkStringArray * GetFaceSetIdMapAsString() const
This API is not really meant for public use and may change without notices.
const std::map< std::string, vtkTypeInt64 > & GetFaceSetIdMap() const
In IOSS entity blocks/sets may have unique ids.
void RemoveAllEntitySelections()
vtkDataArraySelection * GetFaceSetSelection()
vtkStringArray * GetElementBlockIdMapAsString() const
This API is not really meant for public use and may change without notices.
static const char * GetDataAssemblyNodeNameForEntityType(int type)
virtual bool GetReadGlobalFields()
When set to true (default), the reader will read global fields.
int GetNumberOfSelectors() const
API to access selectors.
int ReadArrays(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
void RemoveAllFieldSelections()
void SetFileName(const char *fname)
Set a single filename.
void RemoveAllSelections()
void SetMergeExodusEntityBlocks(bool value)
When this flag is on, blocks/sets of exodus like types will be merged.
virtual void SetReadGlobalFields(bool value)
When set to true (default), the reader will read global fields.
~vtkIOSSReader() override
vtkStringArray * GetEntityIdMapAsString(int type) const
This API is not really meant for public use and may change without notices.
int ReadPoints(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
std::string GetFieldSuffixSeparator()
Set the character used to separate suffix from the field.
vtkDataArraySelection * GetSideSetFieldSelection()
vtkDataArraySelection * GetNodeBlockFieldSelection()
vtkDataArraySelection * GetEdgeSetFieldSelection()
vtkStringArray * GetStructuredBlockIdMapAsString() const
This API is not really meant for public use and may change without notices.
const std::map< std::string, vtkTypeInt64 > & GetEdgeSetIdMap() const
In IOSS entity blocks/sets may have unique ids.
vtkDataArraySelection * GetElementBlockSelection()
vtkStringArray * GetFaceBlockIdMapAsString() const
This API is not really meant for public use and may change without notices.
vtkDataArraySelection * GetEntitySelection(int type)
vtkStringArray * GetElementSetIdMapAsString() const
This API is not really meant for public use and may change without notices.
void ClearProperties()
IOSS databases support various properties that affect how the database is read.
void AddFileName(const char *fname)
API to set the filenames.
static vtkIOSSReader * New()
vtkDataArraySelection * GetFaceSetFieldSelection()
const std::map< std::string, vtkTypeInt64 > & GetElementBlockIdMap() const
In IOSS entity blocks/sets may have unique ids.
vtkDataAssembly * GetAssembly()
Assemblies provide yet another way of selection blocks/sets to load, if available in the dataset.
vtkDataArraySelection * GetElementBlockFieldSelection()
vtkDataArraySelection * GetGlobalFieldSelection()
const std::map< std::string, vtkTypeInt64 > & GetSideSetIdMap() const
In IOSS entity blocks/sets may have unique ids.
const std::map< std::string, vtkTypeInt64 > & GetEdgeBlockIdMap() const
In IOSS entity blocks/sets may have unique ids.
const std::map< std::string, vtkTypeInt64 > & GetNodeBlockIdMap() const
In IOSS entity blocks/sets may have unique ids.
static const char * GetMergedEntityNameForEntityType(int type)
static bool GetEntityTypeIsSet(int type)
const std::map< std::string, vtkTypeInt64 > & GetElementSetIdMap() const
In IOSS entity blocks/sets may have unique ids.
void AddProperty(const char *name, int value)
IOSS databases support various properties that affect how the database is read.
vtkDataArraySelection * GetElementSetFieldSelection()
vtkDataArraySelection * GetEdgeBlockFieldSelection()
void SetFieldSuffixSeparator(const char *value)
Set the character used to separate suffix from the field.
static vtkInformationIntegerKey * ENTITY_TYPE()
void SetRemoveUnusedPoints(bool)
Node related data, including point coordinates, point field data etc.
vtkDataArraySelection * GetSideSetSelection()
vtkMTimeType GetMTime() override
Overridden to take into account mtimes for vtkDataArraySelection instances.
int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Implementation for vtkReaderAlgorithm API.
vtkDataArraySelection * GetFaceBlockSelection()
void SetCaching(bool value)
When this flag is on, caching of data across time-steps is enabled.
int ReadMetaData(vtkInformation *metadata) override
Implementation for vtkReaderAlgorithm API.
std::map< std::string, vtkTypeInt64 > & GetEntityIdMap(int type)
const char * GetSelector(int index) const
API to access selectors.
const char * GetFileName(int index) const
API to set the filenames.
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Overridden to release handles at the end of each pass.
void RemoveProperty(const char *name)
IOSS databases support various properties that affect how the database is read.
const std::map< std::string, vtkTypeInt64 > & GetEntityIdMap(int type) const
In IOSS entity blocks/sets may have unique ids.
vtkDataArraySelection * GetNodeBlockSelection()
vtkDataArraySelection * GetNodeSetFieldSelection()
vtkStringArray * GetNodeBlockIdMapAsString() const
This API is not really meant for public use and may change without notices.
void ClearFileNames()
API to set the filenames.
virtual void ReadGlobalFieldsOff()
When set to true (default), the reader will read global fields.
static bool GetEntityTypeIsBlock(int type)
void SetController(vtkMultiProcessController *controller)
Get/Set the controller to use when working in parallel.
vtkStringArray * GetEdgeSetIdMapAsString() const
This API is not really meant for public use and may change without notices.
int GetNumberOfFileNames() const
API to set the filenames.
const std::map< std::string, vtkTypeInt64 > & GetNodeSetIdMap() const
In IOSS entity blocks/sets may have unique ids.
vtkDataArraySelection * GetStructuredBlockFieldSelection()
bool AddSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
static vtkInformationIntegerKey * ENTITY_ID()
void SetElementAndSideIds(bool value)
When this flag is on and MergeExodusEntityBlocks is off, side sets of exodus data will be annotated w...
bool GetGroupNumericVectorFieldComponents()
Set whether the reader should treat numeric suffixes for a vector field as vector components.
vtkDataArraySelection * GetNodeSetSelection()
void SetDisplacementMagnitude(double magnitude)
When displacements are being applied, they are scaled by this amount.
void SetScanForRelatedFiles(bool value)
When set to true, the reader can automatically locate and load additional files that are part of the ...
const std::map< std::string, vtkTypeInt64 > & GetStructuredBlockIdMap() const
In IOSS entity blocks/sets may have unique ids.
vtkDataArraySelection * GetFieldSelection(int type)
vtkIOSSReaderInternal * Internals
double GetDisplacementMagnitude()
When displacements are being applied, they are scaled by this amount.
vtkDataArraySelection * GetFaceBlockFieldSelection()
vtkStringArray * GetSideSetIdMapAsString() const
This API is not really meant for public use and may change without notices.
const std::map< std::string, vtkTypeInt64 > & GetFaceBlockIdMap() const
In IOSS entity blocks/sets may have unique ids.
vtkStringArray * GetNodeSetIdMapAsString() const
This API is not really meant for public use and may change without notices.
vtkDataArraySelection * GetEdgeBlockSelection()
vtkDataArraySelection * GetEdgeSetSelection()
void ClearSelectors()
API to specify selectors that indicate which branches on the assembly are chosen.
static bool DoTestFilePatternMatching()
Runs a bunch of tests for file pattern matching.
friend class vtkIOSSReaderInternal
void SetGroupNumericVectorFieldComponents(bool value)
Set whether the reader should treat numeric suffixes for a vector field as vector components.
void SetSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
bool GetGroupAlphabeticVectorFieldComponents()
Set whether the reader should recognize fields with suffixes such as X, Y, Z or x,...
vtkDataArraySelection * GetElementSetSelection()
virtual void ReadGlobalFieldsOn()
When set to true (default), the reader will read global fields.
vtkDataArraySelection * GetStructuredBlockSelection()
void SetReadAllFilesToDetermineStructure(bool)
When set to false (default), the reader will read only the first file to determine the structure,...
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkStringArray * GetEdgeBlockIdMapAsString() const
This API is not really meant for public use and may change without notices.
void SetGroupAlphabeticVectorFieldComponents(bool value)
Set whether the reader should recognize fields with suffixes such as X, Y, Z or x,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Multiprocessing communication superclass.
Allocate and hold a VTK object.
a vtkAbstractArray subclass for strings
#define VTK_DEPRECATED_IN_9_6_0(reason)
vtkTypeUInt32 vtkMTimeType