reads a dataset in Fluent file format
More...
#include <vtkFLUENTReader.h>
List of all members.
Detailed Description
reads a dataset in Fluent file format
vtkFLUENTReader creates an unstructured grid dataset. It reads .cas and .dat files stored in FLUENT native format.
- Thanks:
- Thanks to Brian W. Dotson & Terry E. Jordan (Department of Energy, National Energy Technology Laboratory) & Douglas McCorkle (Iowa State University) who developed this class. Please address all comments to Brian Dotson (brian.dotson@netl.doe.gov) & Terry Jordan (terry.jordan@sa.netl.doe.gov) & Doug McCorkle (mccdo@iastate.edu)
- See also:
- vtkGAMBITReader
Definition at line 49 of file vtkFLUENTReader.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkFLUENTReader::vtkFLUENTReader |
( |
| ) |
[protected] |
vtkFLUENTReader::~vtkFLUENTReader |
( |
| ) |
[protected] |
Member Function Documentation
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual const char* vtkFLUENTReader::GetClassName |
( |
| ) |
[virtual] |
static int vtkFLUENTReader::IsTypeOf |
( |
const char * |
name | ) |
[static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual int vtkFLUENTReader::IsA |
( |
const char * |
name | ) |
[virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
void vtkFLUENTReader::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkMultiBlockDataSetAlgorithm.
virtual void vtkFLUENTReader::SetFileName |
( |
const char * |
| ) |
[virtual] |
Specify the file name of the Fluent case file to read.
virtual char* vtkFLUENTReader::GetFileName |
( |
| ) |
[virtual] |
Specify the file name of the Fluent case file to read.
virtual int vtkFLUENTReader::GetNumberOfCells |
( |
| ) |
[virtual] |
Get the total number of cells. The number of cells is only valid after a successful read of the data file is performed. Initial value is 0.
int vtkFLUENTReader::GetNumberOfCellArrays |
( |
void |
| ) |
|
Get the number of cell arrays available in the input.
const char* vtkFLUENTReader::GetCellArrayName |
( |
int |
index | ) |
|
Get the name of the cell array with the given index in the input.
int vtkFLUENTReader::GetCellArrayStatus |
( |
const char * |
name | ) |
|
Get/Set whether the cell array with the given name is to be read.
void vtkFLUENTReader::SetCellArrayStatus |
( |
const char * |
name, |
|
|
int |
status |
|
) |
| |
Get/Set whether the cell array with the given name is to be read.
void vtkFLUENTReader::DisableAllCellArrays |
( |
| ) |
|
Turn on/off all cell arrays.
void vtkFLUENTReader::EnableAllCellArrays |
( |
| ) |
|
Turn on/off all cell arrays.
void vtkFLUENTReader::SetDataByteOrderToBigEndian |
( |
| ) |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. Not used when reading text files.
void vtkFLUENTReader::SetDataByteOrderToLittleEndian |
( |
| ) |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. Not used when reading text files.
int vtkFLUENTReader::GetDataByteOrder |
( |
| ) |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. Not used when reading text files.
void vtkFLUENTReader::SetDataByteOrder |
( |
int |
| ) |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. Not used when reading text files.
const char* vtkFLUENTReader::GetDataByteOrderAsString |
( |
| ) |
|
These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. Not used when reading text files.
virtual void vtkFLUENTReader::SetSwapBytes |
( |
int |
| ) |
[protected, virtual] |
Set/Get the byte swapping to explicitly swap the bytes of a file. Not used when reading text files.
int vtkFLUENTReader::GetSwapBytes |
( |
| ) |
[inline, protected] |
Set/Get the byte swapping to explicitly swap the bytes of a file. Not used when reading text files.
Definition at line 135 of file vtkFLUENTReader.h.
virtual void vtkFLUENTReader::SwapBytesOn |
( |
| ) |
[protected, virtual] |
Set/Get the byte swapping to explicitly swap the bytes of a file. Not used when reading text files.
virtual void vtkFLUENTReader::SwapBytesOff |
( |
| ) |
[protected, virtual] |
Set/Get the byte swapping to explicitly swap the bytes of a file. Not used when reading text files.
virtual bool vtkFLUENTReader::OpenCaseFile |
( |
const char * |
filename | ) |
[protected, virtual] |
virtual bool vtkFLUENTReader::OpenDataFile |
( |
const char * |
filename | ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetCaseChunk |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetNumberOfCellZones |
( |
| ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetCaseIndex |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::LoadVariableNames |
( |
| ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetDataIndex |
( |
| ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetDataChunk |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetSpeciesVariableNames |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::ParseCaseFile |
( |
| ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetDimension |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetLittleEndianFlag |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetNodesAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetNodesSinglePrecision |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetNodesDoublePrecision |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetCellsAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetCellsBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetFacesAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetFacesBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetPeriodicShadowFacesAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetPeriodicShadowFacesBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetCellTreeAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetCellTreeBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetFaceTreeAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetFaceTreeBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetInterfaceFaceParentsAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetInterfaceFaceParentsBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetNonconformalGridInterfaceFaceInformationAscii |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetNonconformalGridInterfaceFaceInformationBinary |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetPartitionInfo |
( |
| ) |
[inline, protected, virtual] |
virtual void vtkFLUENTReader::CleanCells |
( |
| ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulateCellNodes |
( |
| ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetCaseBufferInt |
( |
int |
ptr | ) |
[protected, virtual] |
virtual float vtkFLUENTReader::GetCaseBufferFloat |
( |
int |
ptr | ) |
[protected, virtual] |
virtual double vtkFLUENTReader::GetCaseBufferDouble |
( |
int |
ptr | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulateTriangleCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulateTetraCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulateQuadCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulateHexahedronCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulatePyramidCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulateWedgeCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::PopulatePolyhedronCell |
( |
int |
i | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::ParseDataFile |
( |
| ) |
[protected, virtual] |
virtual int vtkFLUENTReader::GetDataBufferInt |
( |
int |
ptr | ) |
[protected, virtual] |
virtual float vtkFLUENTReader::GetDataBufferFloat |
( |
int |
ptr | ) |
[protected, virtual] |
virtual double vtkFLUENTReader::GetDataBufferDouble |
( |
int |
ptr | ) |
[protected, virtual] |
virtual void vtkFLUENTReader::GetData |
( |
int |
dataType | ) |
[protected, virtual] |
virtual bool vtkFLUENTReader::ParallelCheckCell |
( |
int |
vtkNotUsedi | ) |
[inline, protected, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: