ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkExodusFileSeriesReader Class Reference

meta-reader to read Exodus file series from simulation restarts More...

#include <vtkExodusFileSeriesReader.h>

Inheritance diagram for vtkExodusFileSeriesReader:
Inheritance graph
[legend]
Collaboration diagram for vtkExodusFileSeriesReader:
Collaboration graph
[legend]

Public Types

typedef vtkFileSeriesReader Superclass
 
- Public Types inherited from vtkFileSeriesReader
typedef vtkMetaReader Superclass
 
- Public Types inherited from vtkMetaReader
typedef vtkDataObjectAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkFileSeriesReader
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 All pipeline passes are forwarded to the internal reader. More...
 
virtual int CanReadFile (const char *filename)
 CanReadFile is forwarded to the internal reader if it supports it. More...
 
virtual void AddFileName (const char *fname)
 Adds names of files to be read. More...
 
virtual void RemoveAllFileNames ()
 Remove all file names. More...
 
virtual unsigned int GetNumberOfFileNames ()
 Returns the number of file names added by AddFileName. More...
 
virtual const char * GetFileName (unsigned int idx)
 Returns the name of a file with index idx. More...
 
const char * GetCurrentFileName ()
 
virtual int GetUseMetaFile ()
 If true, then use the meta file. More...
 
virtual void SetUseMetaFile (int)
 If true, then use the meta file. More...
 
virtual void UseMetaFileOn ()
 If true, then use the meta file. More...
 
virtual void UseMetaFileOff ()
 If true, then use the meta file. More...
 
virtual int GetIgnoreReaderTime ()
 If true, then treat file series like it does not contain any time step values. More...
 
virtual void SetIgnoreReaderTime (int)
 If true, then treat file series like it does not contain any time step values. More...
 
virtual void IgnoreReaderTimeOn ()
 If true, then treat file series like it does not contain any time step values. More...
 
virtual void IgnoreReaderTimeOff ()
 If true, then treat file series like it does not contain any time step values. More...
 
- Public Member Functions inherited from vtkMetaReader
 vtkMetaReader ()
 
 ~vtkMetaReader ()
 
virtual vtkMTimeType GetMTime ()
 Return the MTime when also considering the internal reader. More...
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetReader (vtkAlgorithm *)
 Set/get the internal reader. More...
 
virtual vtkAlgorithm * GetReader ()
 Set/get the internal reader. More...
 
void SetMetaFileName (const char *name)
 Get/set the filename for the meta-file. More...
 
char * GetMetaFileName ()
 Get/set the filename for the meta-file. More...
 
virtual vtkIdType * GetFileIndexRange ()
 Returns the available range of file indexes. More...
 
virtual void GetFileIndexRange (vtkIdType &, vtkIdType &)
 Returns the available range of file indexes. More...
 
virtual void GetFileIndexRange (vtkIdType [2])
 Returns the available range of file indexes. More...
 
vtkIdType GetFileIndex ()
 Get/set the index of the file to read. More...
 
void SetFileIndex (vtkIdType i)
 Get/set the index of the file to read. More...
 
virtual void SetFileNameMethod (const char *)
 Name of the method used to set the file name of the internal reader. More...
 
virtual char * GetFileNameMethod ()
 Name of the method used to set the file name of the internal reader. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkExodusFileSeriesReaderSafeDownCast (vtkObject *o)
 
static vtkExodusFileSeriesReaderNew ()
 
- Static Public Member Functions inherited from vtkFileSeriesReader
static vtkFileSeriesReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkFileSeriesReaderSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMetaReader
static vtkMetaReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkMetaReaderSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkExodusFileSeriesReader ()
 
 ~vtkExodusFileSeriesReader ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestInformationForInput (int index, vtkInformation *request, vtkInformationVector *outputVector)
 Make sure the reader's output is set to the given index and, if it changed, run RequestInformation on the reader. More...
 
virtual void FindRestartedResults ()
 
- Protected Member Functions inherited from vtkFileSeriesReader
 vtkFileSeriesReader ()
 
 ~vtkFileSeriesReader ()
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestUpdateTimeDependentInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int ReadMetaDataFile (const char *metafilename, vtkStringArray *filesToRead, int maxFilesToRead=VTK_INT_MAX)
 Reads a metadata file and returns a list of filenames (in filesToRead). More...
 
virtual void UpdateMetaData ()
 Re-reads information from the metadata file, if necessary. More...
 
void ResetTimeRanges ()
 Resets information about TimeRanges. More...
 
void RemoveAllFileNamesInternal ()
 
void AddFileNameInternal (const char *)
 
int ChooseInput (vtkInformation *)
 
- Protected Member Functions inherited from vtkMetaReader
virtual void Set_MetaFileName (const char *)
 
virtual char * Get_MetaFileName ()
 
virtual void Set_FileIndex (vtkIdType)
 
virtual vtkIdType Get_FileIndex ()
 
void ReaderSetFileName (const char *filename)
 
int ReaderCanReadFile (const char *filename)
 
std::string FromRelativeToMetaFile (const char *metaFileName, const char *fileName)
 'metaFileName' to either a file path that is relative to the current working directory (CWD) or to an absolute file path. More...
 

Additional Inherited Members

- Protected Attributes inherited from vtkFileSeriesReader
int UseMetaFile
 True if use a meta-file, false otherwise. More...
 
int IgnoreReaderTime
 
- Protected Attributes inherited from vtkMetaReader
vtkAlgorithm * Reader
 
vtkMTimeType FileNameMTime
 
vtkMTimeType BeforeFileNameMTime
 
char * FileNameMethod
 
vtkIdType _FileIndex
 
vtkMTimeType FileIndexMTime
 
vtkIdType FileIndexRange [2]
 
char * _MetaFileName
 
vtkMTimeType MetaFileNameMTime
 
vtkTimeStamp MetaFileReadTime
 Records the time when the meta-file was read. More...
 

Detailed Description

meta-reader to read Exodus file series from simulation restarts

Add some special sauce to the superclass that allows it to work with the parallel Exodus reader. Specifically, changing the file name causes the selected output arrays to be cleared out. This class saves and restores the information.

Definition at line 45 of file vtkExodusFileSeriesReader.h.

Member Typedef Documentation

◆ Superclass

Definition at line 48 of file vtkExodusFileSeriesReader.h.

Constructor & Destructor Documentation

◆ vtkExodusFileSeriesReader()

vtkExodusFileSeriesReader::vtkExodusFileSeriesReader ( )
protected

◆ ~vtkExodusFileSeriesReader()

vtkExodusFileSeriesReader::~vtkExodusFileSeriesReader ( )
protected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkExodusFileSeriesReader::GetClassName ( )
virtual

Reimplemented from vtkFileSeriesReader.

◆ IsTypeOf()

static int vtkExodusFileSeriesReader::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkExodusFileSeriesReader::IsA ( const char *  type)
virtual

Reimplemented from vtkFileSeriesReader.

◆ SafeDownCast()

static vtkExodusFileSeriesReader* vtkExodusFileSeriesReader::SafeDownCast ( vtkObject *  o)
static

◆ New()

static vtkExodusFileSeriesReader* vtkExodusFileSeriesReader::New ( )
static

◆ PrintSelf()

virtual void vtkExodusFileSeriesReader::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

◆ RequestInformation()

virtual int vtkExodusFileSeriesReader::RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Reimplemented from vtkFileSeriesReader.

◆ RequestInformationForInput()

virtual int vtkExodusFileSeriesReader::RequestInformationForInput ( int  index,
vtkInformation *  request,
vtkInformationVector *  outputVector 
)
protectedvirtual

Make sure the reader's output is set to the given index and, if it changed, run RequestInformation on the reader.

Reimplemented from vtkFileSeriesReader.

◆ FindRestartedResults()

virtual void vtkExodusFileSeriesReader::FindRestartedResults ( )
protectedvirtual

The documentation for this class was generated from the following file: