26 #ifndef vtkMFIXReader_h
27 #define vtkMFIXReader_h
29 #include "vtkIOGeometryModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
55 vtkSetFilePathMacro(FileName);
56 vtkGetFilePathMacro(FileName);
64 vtkGetMacro(NumberOfCells,
int);
72 vtkGetMacro(NumberOfPoints,
int);
79 vtkGetMacro(NumberOfCellFields,
int);
86 vtkSetMacro(TimeStep,
int);
87 vtkGetMacro(TimeStep,
int);
94 vtkGetMacro(NumberOfTimeSteps,
int);
101 vtkGetVector2Macro(TimeStepRange,
int);
102 vtkSetVector2Macro(TimeStepRange,
int);
108 int GetNumberOfCellArrays();
114 const char* GetCellArrayName(
int index);
121 int GetCellArrayStatus(
const char*
name);
122 void SetCellArrayStatus(
const char*
name,
int status);
129 void DisableAllCellArrays();
130 void EnableAllCellArrays();
136 void GetCellDataRange(
int cellComp,
float* min,
float*
max);
163 int TimeStepRange[2];
188 char FileExtension[15];
189 char DataBuffer[513];
227 char CoordinateSystem[17];
259 void SwapDouble(
double&
value);
260 void SwapFloat(
float&
value);
261 void SwapInt(
int&
value);
262 void GetInt(istream& in,
int& val);
263 void GetDouble(istream& in,
double& val);
264 void SkipBytes(istream& in,
int n);
265 void RestartVersionNumber(
const char* buffer);
268 void GetBlockOfInts(istream& in,
vtkIntArray* v,
int n);
269 void ReadRestartFile();
270 void GetVariableAtTimestep(
int vari,
int tstep,
vtkFloatArray* v);
271 void CreateVariableNames();
273 void MakeTimeStepTable(
int numberOfVariables);
274 void SetProjectName(
const char* infile);
275 void MakeSPXTimeStepIndexTable(
int nvars);
276 void CalculateMaxTimeStep();
277 void GetNumberOfVariablesInSPXFiles();
278 void FillVectorVariable(
int xindex,
int yindex,
int zindex,
vtkFloatArray* v);
279 void ConvertVectorFromCylindricalToCartesian(
int xindex,
int zindex);
283 VTK_ABI_NAMESPACE_END
int NumberOfReactionRates
vtkIntArray * VariableTimesteps
vtkIntArray * SPXToNVarTable
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
int SPXRecordsPerTimestep
vtkIntArray * VectorLength
vtkIntArray * SpxFileExists
vtkIntArray * VariableComponents
vtkIntArray * VariableIndexToSPX
static vtkUnstructuredGridAlgorithm * New()
vtkDataArraySelection * CellDataArraySelection
dynamic, self-adjusting array of float
a vtkAbstractArray subclass for strings
a cell that represents a 2D quadrilateral
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkFloatArray ** CellDataArray
reads a dataset in MFIX file format
dynamic, self-adjusting array of double
dynamic, self-adjusting array of int
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkStringArray * VariableNames
vtkIntArray * SPXTimestepIndexTable
Store on/off settings for data arrays, etc.
dataset represents arbitrary combinations of all possible cell types
a cell that represents a linear 3D hexahedron
Superclass for algorithms that produce only unstructured grid as output.
vtkHexahedron * AHexahedron
vtkIntArray * VariableToSkipTable
vtkUnstructuredGrid * Mesh
vtkIntArray * VariableTimestepTable
Write VTK XML UnstructuredGrid files.
vtkIntArray * variableIndexToSPX
a 3D cell that represents a linear wedge
represent and manipulate 3D points
int RequestInformationFlag