38 #ifndef vtkFLUENTReader_h 39 #define vtkFLUENTReader_h 41 #include "vtkIOGeometryModule.h" 65 vtkSetStringMacro(FileName);
66 vtkGetStringMacro(FileName);
74 vtkGetMacro(NumberOfCells,
int);
80 int GetNumberOfCellArrays(
void);
86 const char* GetCellArrayName(
int index);
93 int GetCellArrayStatus(
const char*
name);
94 void SetCellArrayStatus(
const char*
name,
int status);
101 void DisableAllCellArrays();
102 void EnableAllCellArrays();
120 void SetDataByteOrderToBigEndian();
121 void SetDataByteOrderToLittleEndian();
122 int GetDataByteOrder();
123 void SetDataByteOrder(
int);
124 const char *GetDataByteOrderAsString();
130 struct ScalarDataChunk;
131 struct VectorDataChunk;
139 struct scalarDataVector;
140 struct vectorDataVector;
141 struct intVectorVector;
166 virtual bool OpenCaseFile(
const char *filename);
167 virtual bool OpenDataFile(
const char *filename);
168 virtual int GetCaseChunk ();
169 virtual void GetNumberOfCellZones();
170 virtual int GetCaseIndex();
171 virtual void LoadVariableNames();
172 virtual int GetDataIndex();
173 virtual int GetDataChunk();
174 virtual void GetSpeciesVariableNames();
176 virtual void ParseCaseFile();
177 virtual int GetDimension();
178 virtual void GetLittleEndianFlag();
179 virtual void GetNodesAscii();
180 virtual void GetNodesSinglePrecision();
181 virtual void GetNodesDoublePrecision();
182 virtual void GetCellsAscii();
183 virtual void GetCellsBinary();
184 virtual void GetFacesAscii();
185 virtual void GetFacesBinary();
186 virtual void GetPeriodicShadowFacesAscii();
187 virtual void GetPeriodicShadowFacesBinary();
188 virtual void GetCellTreeAscii();
189 virtual void GetCellTreeBinary();
190 virtual void GetFaceTreeAscii();
191 virtual void GetFaceTreeBinary();
192 virtual void GetInterfaceFaceParentsAscii();
193 virtual void GetInterfaceFaceParentsBinary();
194 virtual void GetNonconformalGridInterfaceFaceInformationAscii();
195 virtual void GetNonconformalGridInterfaceFaceInformationBinary();
197 virtual void CleanCells();
198 virtual void PopulateCellNodes();
199 virtual int GetCaseBufferInt(
int ptr);
200 virtual float GetCaseBufferFloat(
int ptr);
201 virtual double GetCaseBufferDouble(
int ptr);
202 virtual void PopulateTriangleCell(
int i);
203 virtual void PopulateTetraCell(
int i);
204 virtual void PopulateQuadCell(
int i);
205 virtual void PopulateHexahedronCell(
int i);
206 virtual void PopulatePyramidCell(
int i);
207 virtual void PopulateWedgeCell(
int i);
208 virtual void PopulatePolyhedronCell(
int i);
209 virtual void ParseDataFile();
210 virtual int GetDataBufferInt(
int ptr);
211 virtual float GetDataBufferFloat(
int ptr);
212 virtual double GetDataBufferDouble(
int ptr);
213 virtual void GetData(
int dataType);
scalarDataVector * ScalarDataChunks
intVector * SubSectionSize
vectorDataVector * VectorDataChunks
a 3D cell that represents a linear pyramid
vtkDataArraySelection * CellDataArraySelection
ifstream * FluentDataFile
virtual bool ParallelCheckCell(int vtkNotUsed(i))
a cell that represents a 2D quadrilateral
ifstream * FluentCaseFile
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
intVectorVector * SubSectionZones
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void GetPartitionInfo()
vtkTypeBool GetSwapBytes()
Set/Get the byte swapping to explicitly swap the bytes of a file.
static vtkMultiBlockDataSetAlgorithm * New()
a 3D cell that represents a tetrahedron
a simple class to control print indentation
Store on/off settings for data arrays for a vtkSource.
vtkHexahedron * Hexahedron
reads a dataset in Fluent file format
a cell that represents a linear 3D hexahedron
a 3D cell defined by a set of convex points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
intVector * ScalarSubSectionIds
intVector * SubSectionIds
a cell that represents a triangle
stringVector * VectorVariableNames
vtkConvexPointSet * ConvexPointSet
stringVector * ScalarVariableNames
a 3D cell that represents a linear wedge
represent and manipulate 3D points
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
intVector * VectorSubSectionIds