38 #ifndef vtkFLUENTCFFReader_h
39 #define vtkFLUENTCFFReader_h
44 #include "vtkIOFLUENTCFFModule.h"
49 VTK_ABI_NAMESPACE_BEGIN
82 vtkSetMacro(RenameArrays,
bool);
83 vtkGetMacro(RenameArrays,
bool);
97 int GetNumberOfCellArrays();
103 const char* GetCellArrayName(
int index);
110 int GetCellArrayStatus(
const char*
name);
111 void SetCellArrayStatus(
const char*
name,
int status);
118 void DisableAllCellArrays();
119 void EnableAllCellArrays();
125 int GetNumberOfFaceArrays();
131 const char* GetFaceArrayName(
int index);
138 int GetFaceArrayStatus(
const char*
name);
139 void SetFaceArrayStatus(
const char*
name,
int status);
146 void DisableAllFaceArrays();
147 void EnableAllFaceArrays();
155 vtkSetMacro(ReadFaces,
bool);
156 vtkGetMacro(ReadFaces,
bool);
157 vtkBooleanMacro(ReadFaces,
bool);
218 virtual bool OpenCaseFile(
const std::string& filename);
219 virtual DataState OpenDataFile(
const std::string& filename);
225 virtual void GetNumberOfCellZones();
230 virtual int ParseCaseFile();
235 virtual int GetDimension();
241 virtual void GetNodesGlobal();
242 virtual void GetCellsGlobal();
243 virtual void GetFacesGlobal();
249 virtual void GetNodes();
254 virtual void GetCells();
259 virtual void GetFaces();
265 virtual void GetPeriodicShadowFaces();
271 virtual void GetCellOverset();
276 virtual void GetCellTree();
281 virtual void GetFaceTree();
286 virtual void GetInterfaceFaceParents();
292 virtual void GetNonconformalGridInterfaceFaceInformation();
297 virtual void CleanCells();
304 virtual void PopulateCellNodes();
305 virtual void PopulateCellTree();
312 virtual void PopulateTriangleCell(
int i);
313 virtual void PopulateTetraCell(
int i);
314 virtual void PopulateQuadCell(
int i);
315 virtual void PopulateHexahedronCell(
int i);
316 virtual void PopulatePyramidCell(
int i);
317 virtual void PopulateWedgeCell(
int i);
318 virtual void PopulatePolyhedronCell(
int i);
329 virtual int GetMetaData();
336 bool RenameArrays =
false;
338 int NumberOfCellArrays = 0;
341 std::unique_ptr<vtkInternals>
HDFImpl;
356 int GridDimension = 0;
376 std::vector<double> dataVector;
379 typedef long long hid_t;
380 void ReadFieldMetaData(hid_t parentGroup,
int iphase, std::vector<std::string>& container);
399 const std::map<unsigned int, vtkIdType>& faceIdToLocalIndex);
401 std::vector<DataChunk> DataChunks;
402 std::vector<std::string> PreReadData;
403 std::vector<std::string> PreReadFaceData;
404 int NumberOfArrays = 0;
406 std::map<int, FaceZone> FaceZonesById;
409 bool ReadFaces =
false;
411 VTK_ABI_NAMESPACE_END
vtkNew< vtkPoints > Points
vtkTypeUInt32 vtkMTimeType
a 3D cell that represents a linear pyramid
std::vector< int > nodesOffset
std::vector< int > childId
std::unique_ptr< vtkInternals > HDFImpl
a cell that represents a 2D quadrilateral
Hold a reference to a vtkObjectBase instance.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
std::vector< Cell > Cells
static vtkMultiBlockDataSetAlgorithm * New()
a 3D cell that represents a tetrahedron
vtkNew< vtkHexahedron > Hexahedron
reads a dataset in Fluent CFF file format
a simple class to control print indentation
vtkNew< vtkTriangle > Triangle
Store on/off settings for data arrays, etc.
dataset represents arbitrary combinations of all possible cell types
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkNew< vtkDataArraySelection > CellDataArraySelection
a cell that represents a linear 3D hexahedron
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkDataArray > GetData(const Ioss::GroupingEntity *entity, const std::string &fieldname, Ioss::Transform *transform=nullptr, Cache *cache=nullptr, const std::string &cachekey=std::string())
Returns a VTK array for a given field (fieldname) on the chosen block (or set) entity.
vtkNew< vtkPyramid > Pyramid
std::vector< Face > Faces
std::vector< int > CellZones
a cell that represents a triangle
Composite dataset that organizes datasets into blocks.
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.