37 #ifndef __vtkMFIXReader_h
38 #define __vtkMFIXReader_h
64 vtkSetStringMacro(FileName);
65 vtkGetStringMacro(FileName);
71 vtkGetMacro(NumberOfCells,
int);
77 vtkGetMacro(NumberOfPoints,
int);
82 vtkGetMacro(NumberOfCellFields,
int);
87 vtkSetMacro(TimeStep,
int);
88 vtkGetMacro(TimeStep,
int);
93 vtkGetMacro(NumberOfTimeSteps,
int);
98 vtkGetVector2Macro(TimeStepRange,
int);
99 vtkSetVector2Macro(TimeStepRange,
int);
103 int GetNumberOfCellArrays(
void);
106 const char* GetCellArrayName(
int index);
110 int GetCellArrayStatus(
const char*
name);
111 void SetCellArrayStatus(
const char*
name,
int status);
116 void DisableAllCellArrays();
117 void EnableAllCellArrays();
122 VTK_LEGACY(
void GetCellDataRange(
int cellComp,
int index,
float *min,
float *
max));
125 void GetCellDataRange(
int cellComp,
float *min,
float *
max);
154 int TimeStepRange[2];
179 char FileExtension[15];
180 char DataBuffer[513];
218 char CoordinateSystem[17];
250 void SwapDouble(
double &
value);
251 void SwapFloat(
float &
value);
252 void SwapInt(
int &
value);
254 int ConvertCharToInt(
char in);
256 void GetInt(istream&
in,
int &
val);
257 void GetDouble(istream&
in,
double&
val);
258 void GetFloat(istream&
in,
float&
val);
259 void SkipBytes(istream&
in,
int n);
260 void RestartVersionNumber(
const char*
buffer);
264 void ReadRestartFile();
265 void GetVariableAtTimestep(
int vari ,
int tstep,
vtkFloatArray *
v);
266 void CreateVariableNames();
268 void MakeTimeStepTable(
int nvars);
269 void SetProjectName (
const char *infile);
270 void MakeSPXTimeStepIndexTable(
int nvars);
271 void CalculateMaxTimeStep();
272 void GetNumberOfVariablesInSPXFiles();
273 void FillVectorVariable(
int xindex,
int yindex,
int zindex,
275 void ConvertVectorFromCylindricalToCartesian(
int xindex,
int zindex);
int NumberOfReactionRates
vtkIntArray * VariableTimesteps
Wrapper around std::string to keep symbols short.
vtkIntArray * SPXToNVarTable
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
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)
GLsizei const GLfloat * value
vtkFloatArray ** CellDataArray
reads a dataset in MFIX file format
#define VTKIOGEOMETRY_EXPORT
dynamic, self-adjusting array of double
dynamic, self-adjusting array of int
GLuint const GLchar * name
a simple class to control print indentation
vtkStringArray * VariableNames
vtkIntArray * SPXTimestepIndexTable
Store on/off settings for data arrays for a vtkSource.
dataset represents arbitrary combinations of all possible cell types
void PrintSelf(ostream &os, vtkIndent indent)
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