vtkFLUENTReader Class Reference

#include <vtkFLUENTReader.h>

Inheritance diagram for vtkFLUENTReader:

Inheritance graph
[legend]
Collaboration diagram for vtkFLUENTReader:

Collaboration graph
[legend]

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 63 of file vtkFLUENTReader.h.


Public Types

typedef
vtkMultiBlockDataSetAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
int GetNumberOfCellArrays (void)
const char * GetCellArrayName (int index)
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual int GetNumberOfCells ()
int GetCellArrayStatus (const char *name)
void SetCellArrayStatus (const char *name, int status)
void DisableAllCellArrays ()
void EnableAllCellArrays ()

Static Public Member Functions

static vtkFLUENTReaderNew ()
static int IsTypeOf (const char *type)
static vtkFLUENTReaderSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkFLUENTReader ()
 ~vtkFLUENTReader ()
int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
bool OpenCaseFile (const char *filename)
bool OpenDataFile (const char *filename)
int GetCaseChunk ()
void GetNumberOfCellZones ()
int GetCaseIndex ()
void LoadVariableNames ()
int GetDataIndex ()
int GetDataChunk ()
void ParseCaseFile ()
int GetDimension ()
void GetLittleEndianFlag ()
void GetNodesAscii ()
void GetNodesSinglePrecision ()
void GetNodesDoublePrecision ()
void GetCellsAscii ()
void GetCellsBinary ()
void GetFacesAscii ()
void GetFacesBinary ()
void GetPeriodicShadowFacesAscii ()
void GetPeriodicShadowFacesBinary ()
void GetCellTreeAscii ()
void GetCellTreeBinary ()
void GetFaceTreeAscii ()
void GetFaceTreeBinary ()
void GetInterfaceFaceParentsAscii ()
void GetInterfaceFaceParentsBinary ()
void GetNonconformalGridInterfaceFaceInformationAscii ()
void GetNonconformalGridInterfaceFaceInformationBinary ()
void CleanCells ()
void PopulateCellNodes ()
int GetCaseBufferInt (int ptr)
float GetCaseBufferFloat (int ptr)
double GetCaseBufferDouble (int ptr)
void PopulateTriangleCell (int i)
void PopulateTetraCell (int i)
void PopulateQuadCell (int i)
void PopulateHexahedronCell (int i)
void PopulatePyramidCell (int i)
void PopulateWedgeCell (int i)
void PopulatePolyhedronCell (int i)
void ParseDataFile ()
int GetDataBufferInt (int ptr)
float GetDataBufferFloat (int ptr)
double GetDataBufferDouble (int ptr)
void GetData (int dataType)

Protected Attributes

vtkDataArraySelectionCellDataArraySelection
char * FileName
int NumberOfCells
int NumberOfCellArrays
ifstream * FluentCaseFile
ifstream * FluentDataFile
stdString * CaseBuffer
stdString * DataBuffer
vtkPointsPoints
vtkTriangleTriangle
vtkTetraTetra
vtkQuadQuad
vtkHexahedronHexahedron
vtkPyramidPyramid
vtkWedgeWedge
vtkConvexPointSetConvexPointSet
cellVector * Cells
faceVector * Faces
stdMap * VariableNames
intVector * CellZones
scalarDataVector * ScalarDataChunks
vectorDataVector * VectorDataChunks
intVectorVector * SubSectionZones
intVector * SubSectionIds
intVector * SubSectionSize
stringVector * ScalarVariableNames
intVector * ScalarSubSectionIds
stringVector * VectorVariableNames
intVector * VectorSubSectionIds
int LittleEndianFlag
int GridDimension
int DataPass
int NumberOfScalars
int NumberOfVectors

Member Typedef Documentation

Reimplemented from vtkMultiBlockDataSetAlgorithm.

Definition at line 67 of file vtkFLUENTReader.h.


Constructor & Destructor Documentation

vtkFLUENTReader::vtkFLUENTReader (  )  [protected]

vtkFLUENTReader::~vtkFLUENTReader (  )  [protected]


Member Function Documentation

static vtkFLUENTReader* vtkFLUENTReader::New (  )  [static]

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]

Reimplemented from vtkMultiBlockDataSetAlgorithm.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

static vtkFLUENTReader* vtkFLUENTReader::SafeDownCast ( vtkObject o  )  [static]

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.

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.

int vtkFLUENTReader::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

int vtkFLUENTReader::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkMultiBlockDataSetAlgorithm.

bool vtkFLUENTReader::OpenCaseFile ( const char *  filename  )  [protected]

bool vtkFLUENTReader::OpenDataFile ( const char *  filename  )  [protected]

int vtkFLUENTReader::GetCaseChunk (  )  [protected]

void vtkFLUENTReader::GetNumberOfCellZones (  )  [protected]

int vtkFLUENTReader::GetCaseIndex (  )  [protected]

void vtkFLUENTReader::LoadVariableNames (  )  [protected]

int vtkFLUENTReader::GetDataIndex (  )  [protected]

int vtkFLUENTReader::GetDataChunk (  )  [protected]

void vtkFLUENTReader::ParseCaseFile (  )  [protected]

int vtkFLUENTReader::GetDimension (  )  [protected]

void vtkFLUENTReader::GetLittleEndianFlag (  )  [protected]

void vtkFLUENTReader::GetNodesAscii (  )  [protected]

void vtkFLUENTReader::GetNodesSinglePrecision (  )  [protected]

void vtkFLUENTReader::GetNodesDoublePrecision (  )  [protected]

void vtkFLUENTReader::GetCellsAscii (  )  [protected]

void vtkFLUENTReader::GetCellsBinary (  )  [protected]

void vtkFLUENTReader::GetFacesAscii (  )  [protected]

void vtkFLUENTReader::GetFacesBinary (  )  [protected]

void vtkFLUENTReader::GetPeriodicShadowFacesAscii (  )  [protected]

void vtkFLUENTReader::GetPeriodicShadowFacesBinary (  )  [protected]

void vtkFLUENTReader::GetCellTreeAscii (  )  [protected]

void vtkFLUENTReader::GetCellTreeBinary (  )  [protected]

void vtkFLUENTReader::GetFaceTreeAscii (  )  [protected]

void vtkFLUENTReader::GetFaceTreeBinary (  )  [protected]

void vtkFLUENTReader::GetInterfaceFaceParentsAscii (  )  [protected]

void vtkFLUENTReader::GetInterfaceFaceParentsBinary (  )  [protected]

void vtkFLUENTReader::GetNonconformalGridInterfaceFaceInformationAscii (  )  [protected]

void vtkFLUENTReader::GetNonconformalGridInterfaceFaceInformationBinary (  )  [protected]

void vtkFLUENTReader::CleanCells (  )  [protected]

void vtkFLUENTReader::PopulateCellNodes (  )  [protected]

int vtkFLUENTReader::GetCaseBufferInt ( int  ptr  )  [protected]

float vtkFLUENTReader::GetCaseBufferFloat ( int  ptr  )  [protected]

double vtkFLUENTReader::GetCaseBufferDouble ( int  ptr  )  [protected]

void vtkFLUENTReader::PopulateTriangleCell ( int  i  )  [protected]

void vtkFLUENTReader::PopulateTetraCell ( int  i  )  [protected]

void vtkFLUENTReader::PopulateQuadCell ( int  i  )  [protected]

void vtkFLUENTReader::PopulateHexahedronCell ( int  i  )  [protected]

void vtkFLUENTReader::PopulatePyramidCell ( int  i  )  [protected]

void vtkFLUENTReader::PopulateWedgeCell ( int  i  )  [protected]

void vtkFLUENTReader::PopulatePolyhedronCell ( int  i  )  [protected]

void vtkFLUENTReader::ParseDataFile (  )  [protected]

int vtkFLUENTReader::GetDataBufferInt ( int  ptr  )  [protected]

float vtkFLUENTReader::GetDataBufferFloat ( int  ptr  )  [protected]

double vtkFLUENTReader::GetDataBufferDouble ( int  ptr  )  [protected]

void vtkFLUENTReader::GetData ( int  dataType  )  [protected]


Member Data Documentation

Definition at line 107 of file vtkFLUENTReader.h.

char* vtkFLUENTReader::FileName [protected]

Definition at line 108 of file vtkFLUENTReader.h.

Definition at line 109 of file vtkFLUENTReader.h.

Definition at line 110 of file vtkFLUENTReader.h.

ifstream* vtkFLUENTReader::FluentCaseFile [protected]

Definition at line 161 of file vtkFLUENTReader.h.

ifstream* vtkFLUENTReader::FluentDataFile [protected]

Definition at line 162 of file vtkFLUENTReader.h.

stdString* vtkFLUENTReader::CaseBuffer [protected]

Definition at line 163 of file vtkFLUENTReader.h.

stdString* vtkFLUENTReader::DataBuffer [protected]

Definition at line 164 of file vtkFLUENTReader.h.

Definition at line 166 of file vtkFLUENTReader.h.

Definition at line 167 of file vtkFLUENTReader.h.

Definition at line 168 of file vtkFLUENTReader.h.

Definition at line 169 of file vtkFLUENTReader.h.

Definition at line 170 of file vtkFLUENTReader.h.

Definition at line 171 of file vtkFLUENTReader.h.

Definition at line 172 of file vtkFLUENTReader.h.

Definition at line 173 of file vtkFLUENTReader.h.

cellVector* vtkFLUENTReader::Cells [protected]

Definition at line 175 of file vtkFLUENTReader.h.

faceVector* vtkFLUENTReader::Faces [protected]

Definition at line 176 of file vtkFLUENTReader.h.

stdMap* vtkFLUENTReader::VariableNames [protected]

Definition at line 177 of file vtkFLUENTReader.h.

intVector* vtkFLUENTReader::CellZones [protected]

Definition at line 178 of file vtkFLUENTReader.h.

scalarDataVector* vtkFLUENTReader::ScalarDataChunks [protected]

Definition at line 179 of file vtkFLUENTReader.h.

vectorDataVector* vtkFLUENTReader::VectorDataChunks [protected]

Definition at line 180 of file vtkFLUENTReader.h.

intVectorVector* vtkFLUENTReader::SubSectionZones [protected]

Definition at line 182 of file vtkFLUENTReader.h.

intVector* vtkFLUENTReader::SubSectionIds [protected]

Definition at line 183 of file vtkFLUENTReader.h.

intVector* vtkFLUENTReader::SubSectionSize [protected]

Definition at line 184 of file vtkFLUENTReader.h.

stringVector* vtkFLUENTReader::ScalarVariableNames [protected]

Definition at line 186 of file vtkFLUENTReader.h.

intVector* vtkFLUENTReader::ScalarSubSectionIds [protected]

Definition at line 187 of file vtkFLUENTReader.h.

stringVector* vtkFLUENTReader::VectorVariableNames [protected]

Definition at line 188 of file vtkFLUENTReader.h.

intVector* vtkFLUENTReader::VectorSubSectionIds [protected]

Definition at line 189 of file vtkFLUENTReader.h.

Definition at line 191 of file vtkFLUENTReader.h.

Definition at line 192 of file vtkFLUENTReader.h.

int vtkFLUENTReader::DataPass [protected]

Definition at line 193 of file vtkFLUENTReader.h.

Definition at line 194 of file vtkFLUENTReader.h.

Definition at line 195 of file vtkFLUENTReader.h.


The documentation for this class was generated from the following file:

Generated on Sat Dec 27 13:25:32 2008 for VTK by  doxygen 1.5.6