34 #ifndef __vtkMFIXReader_h
35 #define __vtkMFIXReader_h
60 vtkSetStringMacro(FileName);
61 vtkGetStringMacro(FileName);
67 vtkGetMacro(NumberOfCells,
int);
73 vtkGetMacro(NumberOfPoints,
int);
78 vtkGetMacro(NumberOfCellFields,
int);
83 vtkSetMacro(TimeStep,
int);
84 vtkGetMacro(TimeStep,
int);
89 vtkGetMacro(NumberOfTimeSteps,
int);
94 vtkGetVector2Macro(TimeStepRange,
int);
95 vtkSetVector2Macro(TimeStepRange,
int);
99 int GetNumberOfCellArrays(
void);
102 const char* GetCellArrayName(
int index);
106 int GetCellArrayStatus(
const char*
name);
107 void SetCellArrayStatus(
const char*
name,
int status);
112 void DisableAllCellArrays();
113 void EnableAllCellArrays();
117 void GetCellDataRange(
int cellComp,
int index,
float *min,
float *
max);
146 int TimeStepRange[2];
171 char FileExtension[15];
172 char DataBuffer[513];
210 char CoordinateSystem[17];
242 void SwapDouble(
double &
value);
243 void SwapFloat(
float &
value);
244 void SwapInt(
int &
value);
246 int ConvertCharToInt(
char in);
248 void GetInt(istream& in,
int &val);
249 void GetDouble(istream& in,
double& val);
250 void GetFloat(istream& in,
float& val);
251 void SkipBytes(istream& in,
int n);
252 void RestartVersionNumber(
const char* buffer);
255 void GetBlockOfInts(istream& in,
vtkIntArray *v,
int n);
256 void ReadRestartFile();
257 void GetVariableAtTimestep(
int vari ,
int tstep,
vtkFloatArray *v);
258 void CreateVariableNames();
260 void MakeTimeStepTable(
int nvars);
261 void SetProjectName (
const char *infile);
262 void MakeSPXTimeStepIndexTable(
int nvars);
263 void CalculateMaxTimeStep();
264 void GetNumberOfVariablesInSPXFiles();
265 void FillVectorVariable(
int xindex,
int yindex,
int zindex,
267 void ConvertVectorFromCylindricalToCartesian(
int xindex,
int zindex);