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();
121 void GetCellDataRange(
int cellComp,
float *min,
float *
max);
150 int TimeStepRange[2];
175 char FileExtension[15];
176 char DataBuffer[513];
214 char CoordinateSystem[17];
246 void SwapDouble(
double &
value);
247 void SwapFloat(
float &
value);
248 void SwapInt(
int &
value);
250 int ConvertCharToInt(
char in);
252 void GetInt(istream& in,
int &val);
253 void GetDouble(istream& in,
double& val);
254 void GetFloat(istream& in,
float& val);
255 void SkipBytes(istream& in,
int n);
256 void RestartVersionNumber(
const char* buffer);
259 void GetBlockOfInts(istream& in,
vtkIntArray *v,
int n);
260 void ReadRestartFile();
261 void GetVariableAtTimestep(
int vari ,
int tstep,
vtkFloatArray *v);
262 void CreateVariableNames();
264 void MakeTimeStepTable(
int nvars);
265 void SetProjectName (
const char *infile);
266 void MakeSPXTimeStepIndexTable(
int nvars);
267 void CalculateMaxTimeStep();
268 void GetNumberOfVariablesInSPXFiles();
269 void FillVectorVariable(
int xindex,
int yindex,
int zindex,
271 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)
vtkFloatArray ** CellDataArray
reads a dataset in MFIX file format
#define VTKIOGEOMETRY_EXPORT
dynamic, self-adjusting array of double
dynamic, self-adjusting array of int
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