#include <vtkSpyPlotReader.h>
Public Member Functions | |
vtkTypeRevisionMacro (vtkSpyPlotReader, vtkHierarchicalDataSetAlgorithm) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetController (vtkMultiProcessController *controller) |
virtual vtkMultiProcessController * | GetController () |
virtual int | CanReadFile (const char *fname) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual void | SetTimeStep (int) |
virtual int | GetTimeStep () |
virtual void | SetDistributeFiles (int) |
virtual int | GetDistributeFiles () |
virtual void | DistributeFilesOn () |
virtual void | DistributeFilesOff () |
virtual void | SetGenerateLevelArray (int) |
virtual int | GetGenerateLevelArray () |
virtual void | GenerateLevelArrayOn () |
virtual void | GenerateLevelArrayOff () |
virtual void | SetGenerateBlockIdArray (int) |
virtual int | GetGenerateBlockIdArray () |
virtual void | GenerateBlockIdArrayOn () |
virtual void | GenerateBlockIdArrayOff () |
void | SetDownConvertVolumeFraction (int vf) |
virtual int | GetDownConvertVolumeFraction () |
virtual void | DownConvertVolumeFractionOn () |
virtual void | DownConvertVolumeFractionOff () |
virtual int * | GetTimeStepRange () |
virtual void | GetTimeStepRange (int &, int &) |
virtual void | GetTimeStepRange (int[2]) |
virtual vtkDataArraySelection * | GetCellDataArraySelection () |
int | GetNumberOfCellArrays () |
const char * | GetCellArrayName (int idx) |
int | GetCellArrayStatus (const char *name) |
void | SetCellArrayStatus (const char *name, int status) |
Static Public Member Functions | |
vtkSpyPlotReader * | New () |
Protected Member Functions | |
vtkSpyPlotReader () | |
~vtkSpyPlotReader () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
void | AddGhostLevelArray (int numLevels) |
void | MergeVectors (vtkDataSetAttributes *da) |
int | MergeVectors (vtkDataSetAttributes *da, vtkDataArray *a1, vtkDataArray *a2) |
int | MergeVectors (vtkDataSetAttributes *da, vtkDataArray *a1, vtkDataArray *a2, vtkDataArray *a3) |
int | UpdateMetaData (vtkInformation *request, vtkInformationVector *outputVector) |
int | UpdateCaseFile (const char *fname, vtkInformation *request, vtkInformationVector *outputVector) |
int | UpdateNoCaseFile (const char *ext, vtkInformation *request, vtkInformationVector *outputVector) |
virtual void | SetCurrentFileName (const char *) |
virtual char * | GetCurrentFileName () |
int | GetParentProcessor (int proc) |
int | GetLeftChildProcessor (int proc) |
Static Protected Member Functions | |
void | SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata) |
Protected Attributes | |
vtkDataArraySelection * | CellDataArraySelection |
vtkCallbackCommand * | SelectionObserver |
char * | FileName |
char * | CurrentFileName |
int | TimeStep |
int | TimeStepRange [2] |
int | CurrentTimeStep |
int | IsAMR |
vtkMultiProcessController * | Controller |
vtkSpyPlotReaderMap * | Map |
int | DistributeFiles |
double | Bounds [6] |
int | GenerateLevelArray |
int | GenerateBlockIdArray |
int | DownConvertVolumeFraction |
vtkSpyPlotReader is a reader that reads SPCTH Spy Plot file format through an ascii meta file called the "case" file (extension .spcth). This case file lists all the actual binary files that describe a dataset. Each binary file describes a part of the dataset. However, if only a single binary file describes the whole dataset, it is possible to load it directly without using a case file.
The reader supports both Spy dataset types: flat mesh and AMR (Adaptive Mesh Refinement).
It has parallel capabilities. Each processor is supposed to have access to the case file and to all the binary files. All the binary files have to be coherent: they describe the same fields of data. Each binary file may content multiple time stamp. The time stamp to read is specified with SetTimestamp().
In parallel mode, there are two ways to distribute data over processors (controlled by SetDistributeFiles() ):
Definition at line 63 of file vtkSpyPlotReader.h.
|
|
|
|
|
|
|
|
|
|
|
Get and set the file name. It is either the name of the case file or the name of the single binary file. |
|
Get and set the file name. It is either the name of the case file or the name of the single binary file. |
|
Set and get the time step. The time step is an index, NOT a time given in seconds. |
|
Set and get the time step. The time step is an index, NOT a time given in seconds. |
|
If true, the reader distributes files over processors. If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method. |
|
If true, the reader distributes files over processors. If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method. |
|
If true, the reader distributes files over processors. If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method. |
|
If true, the reader distributes files over processors. If false, the reader distributes blocks over processors. Default is false. Distributing blocks should provide a better load balancing: if there is only one file and several processors, only the first processor is used in the case of the file-distributed method. |
|
If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. False by default. |
|
If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. False by default. |
|
If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. False by default. |
|
If true, the reader generate a cell array in each block that stores the level in the hierarchy, starting from 0. False by default. |
|
If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. False by default. |
|
If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. False by default. |
|
If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. False by default. |
|
If true, the reader generate a cell array in each block that stores a unique but not necessarily contiguous id. False by default. |
|
If true, the reader will convert volume fraction arrays to unsigned char. True by default. |
|
If true, the reader will convert volume fraction arrays to unsigned char. True by default. |
|
If true, the reader will convert volume fraction arrays to unsigned char. True by default. |
|
If true, the reader will convert volume fraction arrays to unsigned char. True by default. |
|
Get the time step range. |
|
Get the time step range. |
|
Get the time step range. |
|
Get the data array selection tables used to configure which data arrays are loaded by the reader. |
|
Cell array selection |
|
Cell array selection |
|
Cell array selection |
|
Cell array selection |
|
Set the controller used to coordinate parallel reading. |
|
|
|
Determine if the file can be readed with this reader. |
|
|
|
|
|
|
|
This does the updating of meta data of the dataset from the first binary file registered in the map: - number of time steps - number of fields - name of fields |
|
This does the updating of the meta data of the case file |
|
This does the updating of the meta data for a series, when no case file provided |
|
|
|
Get and set the current file name. Protected because this method should only be used internally |
|
Get and set the current file name. Protected because this method should only be used internally |
|
|
|
|
|
|
|
The processors are views as a heap tree. The root is the processor of id 0. |
|
The processors are views as a heap tree. The root is the processor of id 0. |
|
Definition at line 153 of file vtkSpyPlotReader.h. |
|
Definition at line 205 of file vtkSpyPlotReader.h. |
|
Definition at line 206 of file vtkSpyPlotReader.h. |
|
Definition at line 207 of file vtkSpyPlotReader.h. |
|
Definition at line 208 of file vtkSpyPlotReader.h. |
|
Definition at line 209 of file vtkSpyPlotReader.h. |
|
Definition at line 210 of file vtkSpyPlotReader.h. |
|
Definition at line 212 of file vtkSpyPlotReader.h. |
|
Definition at line 215 of file vtkSpyPlotReader.h. |
|
Definition at line 229 of file vtkSpyPlotReader.h. |
|
Definition at line 238 of file vtkSpyPlotReader.h. |
|
Definition at line 240 of file vtkSpyPlotReader.h. |
|
Definition at line 242 of file vtkSpyPlotReader.h. |
|
Definition at line 243 of file vtkSpyPlotReader.h. |
|
Definition at line 245 of file vtkSpyPlotReader.h. |