Go to the documentation of this file.
38 #ifndef vtkMFIXReader_h
39 #define vtkMFIXReader_h
41 #include "vtkIOGeometryModule.h"
67 vtkSetStringMacro(FileName);
68 vtkGetStringMacro(FileName);
76 vtkGetMacro(NumberOfCells,
int);
84 vtkGetMacro(NumberOfPoints,
int);
91 vtkGetMacro(NumberOfCellFields,
int);
98 vtkSetMacro(TimeStep,
int);
99 vtkGetMacro(TimeStep,
int);
106 vtkGetMacro(NumberOfTimeSteps,
int);
113 vtkGetVector2Macro(TimeStepRange,
int);
114 vtkSetVector2Macro(TimeStepRange,
int);
177 int TimeStepRange[2];
202 char FileExtension[15];
203 char DataBuffer[513];
241 char CoordinateSystem[17];
273 void SwapDouble(
double &
value);
274 void SwapFloat(
float &
value);
275 void SwapInt(
int &
value);
277 int ConvertCharToInt(
char in);
279 void GetInt(istream& in,
int &val);
280 void GetDouble(istream& in,
double& val);
281 void GetFloat(istream& in,
float& val);
282 void SkipBytes(istream& in,
int n);
283 void RestartVersionNumber(
const char* buffer);
286 void GetBlockOfInts(istream& in,
vtkIntArray *v,
int n);
287 void ReadRestartFile();
288 void GetVariableAtTimestep(
int vari ,
int tstep,
vtkFloatArray *v);
289 void CreateVariableNames();
291 void MakeTimeStepTable(
int nvars);
292 void SetProjectName (
const char *infile);
293 void MakeSPXTimeStepIndexTable(
int nvars);
294 void CalculateMaxTimeStep();
295 void GetNumberOfVariablesInSPXFiles();
296 void FillVectorVariable(
int xindex,
int yindex,
int zindex,
298 void ConvertVectorFromCylindricalToCartesian(
int xindex,
int zindex);
represent and manipulate 3D points
~vtkMFIXReader() override
int SPXRecordsPerTimestep
static vtkMFIXReader * New()
int RequestInformationFlag
a cell that represents a linear 3D hexahedron
int GetCellArrayStatus(const char *name)
Get/Set whether the cell array with the given name is to be read.
vtkIntArray * variableIndexToSPX
dynamic, self-adjusting array of float
vtkFloatArray ** CellDataArray
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkStringArray * VariableNames
int GetNumberOfCellArrays(void)
Get the number of cell arrays available in the input.
void DisableAllCellArrays()
Turn on/off all cell arrays.
Write VTK XML UnstructuredGrid files.
void SetCellArrayStatus(const char *name, int status)
vtkIntArray * VariableToSkipTable
vtkIntArray * SPXToNVarTable
void GetCellDataRange(int cellComp, float *min, float *max)
Get the range of cell data.
vtkIntArray * VectorLength
Store on/off settings for data arrays for a vtkSource.
vtkIntArray * VariableComponents
a 3D cell that represents a linear wedge
vtkIntArray * VariableTimesteps
a simple class to control print indentation
dynamic, self-adjusting array of int
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void EnableAllCellArrays()
const char * GetCellArrayName(int index)
Get the name of the cell array with the given index in the input.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGrid * Mesh
a vtkAbstractArray subclass for strings
reads a dataset in MFIX file format
vtkIntArray * SPXTimestepIndexTable
Superclass for algorithms that produce only unstructured grid as output.
dynamic, self-adjusting array of double
vtkIntArray * SpxFileExists
vtkIntArray * VariableIndexToSPX
dataset represents arbitrary combinations of all possible cell types
Wrapper around std::string to keep symbols short.
vtkIntArray * VariableTimestepTable
int NumberOfReactionRates
vtkDataArraySelection * CellDataArraySelection
a cell that represents a 2D quadrilateral
vtkHexahedron * AHexahedron