ParaView
|
Read SPCTH Spy Plot file format. More...
#include <vtkSpyPlotUniReader.h>
Inherits vtkObject.
Classes | |
struct | CellMaterialField |
struct | DataDump |
struct | MarkerDump |
struct | MarkerMaterialField |
struct | MaterialMarker |
struct | Variable |
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | ReadInformation () |
Reads the basic information from the file such as the header, number of fields, etc. More... | |
int | MakeCurrent () |
Make sure that actual data (including grid blocks) is current else it will read in the required data from file. More... | |
void | PrintInformation () |
void | PrintMemoryUsage () |
virtual int | GetNumberOfCellFields () |
double * | GetTimeArray () |
int | IsAMR () |
Returns 1 if the grid information contained in the file has Adaptive Mesh Refinement (AMR) else it returns 0. More... | |
int | GetNumberOfDataBlocks () |
Return the number of grids in the reader. More... | |
const char * | GetCellFieldName (int field) |
Return the name of the ith field. More... | |
vtkDataArray * | GetCellFieldData (int block, int field, int *fixed) |
Return the data array of the block's field. More... | |
vtkDataArray * | GetMaterialMassField (const int &block, const int &materialIndex) |
Return the mass data array for the material index passed in for the passed in block. More... | |
vtkDataArray * | GetMaterialVolumeFractionField (const int &block, const int &materialIndex) |
Return the volume fraction data array for the material index passed in for the passed in block. More... | |
int | MarkCellFieldDataFixed (int block, int field) |
Mark the block's field to have been fixed w/r bad ghost cells. More... | |
vtkFloatArray * | GetTracers () |
Return the data array for the tracer positions. More... | |
vtkSpyPlotBlock * | GetBlock (int i) |
int | GetNumberOfMaterials () const |
int | GetNumberOfDimensions () const |
int | GetCoordinateSystem () const |
virtual void | SetGenerateMarkers (int) |
virtual int | GetGenerateMarkers () |
virtual int | GetMarkersOn () |
vtkSpyPlotBlock * | GetDataBlock (int block) |
virtual void | SetDataTypeChanged (int) |
void | SetDownConvertVolumeFraction (int vf) |
virtual void | SetFileName (const char *) |
Set and get the Binary SpyPlot File name the reader will process. More... | |
virtual char * | GetFileName () |
Set and get the Binary SpyPlot File name the reader will process. More... | |
virtual void | SetCellArraySelection (vtkDataArraySelection *da) |
Set and get the Binary SpyPlot File name the reader will process. More... | |
int | SetCurrentTime (double time) |
Set and get the current time step to process. More... | |
int | SetCurrentTimeStep (int timeStep) |
Set and get the current time step to process. More... | |
virtual double | GetCurrentTime () |
Set and get the current time step to process. More... | |
virtual int | GetCurrentTimeStep () |
Set and get the current time step to process. More... | |
virtual int * | GetTimeStepRange () |
Set and Get the time range for the simulation run. More... | |
virtual void | GetTimeStepRange (int &, int &) |
Set and Get the time range for the simulation run. More... | |
virtual void | GetTimeStepRange (int [2]) |
Set and Get the time range for the simulation run. More... | |
virtual double * | GetTimeRange () |
Set and Get the time range for the simulation run. More... | |
virtual void | GetTimeRange (double &, double &) |
Set and Get the time range for the simulation run. More... | |
virtual void | GetTimeRange (double [2]) |
Set and Get the time range for the simulation run. More... | |
virtual void | SetNeedToCheck (int) |
int | GetTimeStepFromTime (double time) |
Functions that map from time to time step and vice versa. More... | |
double | GetTimeFromTimeStep (int timeStep) |
Functions that map from time to time step and vice versa. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSpyPlotUniReader * | SafeDownCast (vtkObject *o) |
static vtkSpyPlotUniReader * | New () |
Public Attributes | |
MaterialMarker * | Markers |
MarkerDump * | MarkersDumps |
Protected Member Functions | |
vtkSpyPlotUniReader () | |
~vtkSpyPlotUniReader () | |
Protected Attributes | |
vtkSpyPlotBlock * | Blocks |
Read SPCTH Spy Plot file format.
vtkSpyPlotUniReader is a reader that reads SPCTH Spy Plot file binary format that describes part of a dataset (in the case that the simulation consists of more than 1 file) or the entire simulation. The reader supports both Spy dataset types: flat mesh and AMR (Adaptive Mesh Refinement).
=============================================================================
Definition at line 47 of file vtkSpyPlotUniReader.h.
typedef vtkObject vtkSpyPlotUniReader::Superclass |
Definition at line 50 of file vtkSpyPlotUniReader.h.
|
protected |
|
protected |
|
virtual |
|
static |
|
virtual |
|
static |
|
static |
void vtkSpyPlotUniReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set and get the Binary SpyPlot File name the reader will process.
|
virtual |
Set and get the Binary SpyPlot File name the reader will process.
|
virtual |
Set and get the Binary SpyPlot File name the reader will process.
|
virtual |
Reads the basic information from the file such as the header, number of fields, etc.
int vtkSpyPlotUniReader::MakeCurrent | ( | ) |
Make sure that actual data (including grid blocks) is current else it will read in the required data from file.
void vtkSpyPlotUniReader::PrintInformation | ( | ) |
void vtkSpyPlotUniReader::PrintMemoryUsage | ( | ) |
int vtkSpyPlotUniReader::SetCurrentTime | ( | double | time | ) |
Set and get the current time step to process.
int vtkSpyPlotUniReader::SetCurrentTimeStep | ( | int | timeStep | ) |
Set and get the current time step to process.
|
virtual |
Set and get the current time step to process.
|
virtual |
Set and get the current time step to process.
|
virtual |
Set and Get the time range for the simulation run.
|
virtual |
Set and Get the time range for the simulation run.
|
virtual |
Set and Get the time range for the simulation run.
|
virtual |
Set and Get the time range for the simulation run.
|
virtual |
Set and Get the time range for the simulation run.
|
virtual |
Set and Get the time range for the simulation run.
|
virtual |
int vtkSpyPlotUniReader::GetTimeStepFromTime | ( | double | time | ) |
Functions that map from time to time step and vice versa.
double vtkSpyPlotUniReader::GetTimeFromTimeStep | ( | int | timeStep | ) |
Functions that map from time to time step and vice versa.
|
virtual |
|
inline |
Definition at line 322 of file vtkSpyPlotUniReader.h.
|
inline |
Returns 1 if the grid information contained in the file has Adaptive Mesh Refinement (AMR) else it returns 0.
Definition at line 327 of file vtkSpyPlotUniReader.h.
int vtkSpyPlotUniReader::GetNumberOfDataBlocks | ( | ) |
Return the number of grids in the reader.
const char* vtkSpyPlotUniReader::GetCellFieldName | ( | int | field | ) |
Return the name of the ith field.
vtkDataArray* vtkSpyPlotUniReader::GetCellFieldData | ( | int | block, |
int | field, | ||
int * | fixed | ||
) |
Return the data array of the block's field.
The "fixed" arguement is set to 1 if the array has been corrected for bad ghost cells else it is set to 0
vtkDataArray* vtkSpyPlotUniReader::GetMaterialMassField | ( | const int & | block, |
const int & | materialIndex | ||
) |
Return the mass data array for the material index passed in for the passed in block.
vtkDataArray* vtkSpyPlotUniReader::GetMaterialVolumeFractionField | ( | const int & | block, |
const int & | materialIndex | ||
) |
Return the volume fraction data array for the material index passed in for the passed in block.
int vtkSpyPlotUniReader::MarkCellFieldDataFixed | ( | int | block, |
int | field | ||
) |
Mark the block's field to have been fixed w/r bad ghost cells.
vtkFloatArray* vtkSpyPlotUniReader::GetTracers | ( | ) |
Return the data array for the tracer positions.
vtkSpyPlotBlock* vtkSpyPlotUniReader::GetBlock | ( | int | i | ) |
|
inline |
Definition at line 161 of file vtkSpyPlotUniReader.h.
|
inline |
Definition at line 164 of file vtkSpyPlotUniReader.h.
|
inline |
Definition at line 167 of file vtkSpyPlotUniReader.h.
|
virtual |
|
virtual |
|
virtual |
vtkSpyPlotBlock* vtkSpyPlotUniReader::GetDataBlock | ( | int | block | ) |
|
virtual |
void vtkSpyPlotUniReader::SetDownConvertVolumeFraction | ( | int | vf | ) |
MaterialMarker* vtkSpyPlotUniReader::Markers |
Definition at line 222 of file vtkSpyPlotUniReader.h.
MarkerDump* vtkSpyPlotUniReader::MarkersDumps |
Definition at line 223 of file vtkSpyPlotUniReader.h.
|
protected |
Definition at line 237 of file vtkSpyPlotUniReader.h.