37 #ifndef vtkMFIXReader_h 38 #define vtkMFIXReader_h 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);
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
#define vtkGetMacro(name, type)
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 vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
#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
#define vtkGetStringMacro(name)
Superclass for algorithms that produce only unstructured grid as output.
vtkHexahedron * AHexahedron
vtkIntArray * VariableToSkipTable
vtkUnstructuredGrid * Mesh
#define vtkGetVector2Macro(name, type)
vtkIntArray * VariableTimestepTable
Write VTK XML UnstructuredGrid files.
vtkIntArray * variableIndexToSPX
#define vtkSetVector2Macro(name, type)
a 3D cell that represents a linear wedge
represent and manipulate 3D points
int RequestInformationFlag
#define vtkSetMacro(name, type)