Go to the documentation of this file.
35 #ifndef vtkMFIXReader_h
36 #define vtkMFIXReader_h
38 #include "vtkIOGeometryModule.h"
64 vtkSetStringMacro(FileName);
65 vtkGetStringMacro(FileName);
73 vtkGetMacro(NumberOfCells,
int);
81 vtkGetMacro(NumberOfPoints,
int);
88 vtkGetMacro(NumberOfCellFields,
int);
95 vtkSetMacro(TimeStep,
int);
96 vtkGetMacro(TimeStep,
int);
103 vtkGetMacro(NumberOfTimeSteps,
int);
110 vtkGetVector2Macro(TimeStepRange,
int);
111 vtkSetVector2Macro(TimeStepRange,
int);
117 int GetNumberOfCellArrays(
void);
123 const char* GetCellArrayName(
int index);
130 int GetCellArrayStatus(
const char*
name);
131 void SetCellArrayStatus(
const char*
name,
int status);
138 void DisableAllCellArrays();
139 void EnableAllCellArrays();
145 void GetCellDataRange(
int cellComp,
float *min,
float *
max);
174 int TimeStepRange[2];
199 char FileExtension[15];
200 char DataBuffer[513];
238 char CoordinateSystem[17];
270 void SwapDouble(
double &
value);
271 void SwapFloat(
float &
value);
272 void SwapInt(
int &
value);
274 int ConvertCharToInt(
char in);
276 void GetInt(istream& in,
int &val);
277 void GetDouble(istream& in,
double& val);
278 void GetFloat(istream& in,
float& val);
279 void SkipBytes(istream& in,
int n);
280 void RestartVersionNumber(
const char* buffer);
283 void GetBlockOfInts(istream& in,
vtkIntArray *v,
int n);
284 void ReadRestartFile();
285 void GetVariableAtTimestep(
int vari ,
int tstep,
vtkFloatArray *v);
286 void CreateVariableNames();
288 void MakeTimeStepTable(
int nvars);
289 void SetProjectName (
const char *infile);
290 void MakeSPXTimeStepIndexTable(
int nvars);
291 void CalculateMaxTimeStep();
292 void GetNumberOfVariablesInSPXFiles();
293 void FillVectorVariable(
int xindex,
int yindex,
int zindex,
295 void ConvertVectorFromCylindricalToCartesian(
int xindex,
int zindex);
represent and manipulate 3D points
int SPXRecordsPerTimestep
int RequestInformationFlag
a cell that represents a linear 3D hexahedron
vtkIntArray * variableIndexToSPX
dynamic, self-adjusting array of float
vtkFloatArray ** CellDataArray
vtkStringArray * VariableNames
Write VTK XML UnstructuredGrid files.
vtkIntArray * VariableToSkipTable
vtkIntArray * SPXToNVarTable
vtkIntArray * VectorLength
Store on/off settings for data arrays for a vtkSource.
vtkIntArray * VariableComponents
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
a 3D cell that represents a linear wedge
vtkIntArray * VariableTimesteps
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
dynamic, self-adjusting array of int
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGrid * Mesh
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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