ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
vtkCGNSReader Class Reference

vtkCGNSReader creates a multi-block dataset and reads unstructured grids, and structured meshes from binary files stored in CGNS file format, with data stored at the nodes or at the cells. More...

#include <vtkCGNSReader.h>

Inherits vtkMultiBlockDataSetAlgorithm.

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 CanReadFile (const char *filename)
 Is the given file name a CGNS file? More...
 
int GetBaseArrayStatus (const char *name)
 
void SetBaseArrayStatus (const char *name, int status)
 
void DisableAllBases ()
 
void EnableAllBases ()
 
int GetNumberOfBaseArrays ()
 
int GetNumberOfPointArrays ()
 
int GetNumberOfCellArrays ()
 
const char * GetBaseArrayName (int index)
 
const char * GetPointArrayName (int index)
 
const char * GetCellArrayName (int index)
 
int GetPointArrayStatus (const char *name)
 
int GetCellArrayStatus (const char *name)
 
void SetPointArrayStatus (const char *name, int status)
 
void SetCellArrayStatus (const char *name, int status)
 
void DisableAllPointArrays ()
 
void EnableAllPointArrays ()
 
void DisableAllCellArrays ()
 
void EnableAllCellArrays ()
 
virtual void SetDoublePrecisionMesh (int)
 
virtual int GetDoublePrecisionMesh ()
 
virtual void DoublePrecisionMeshOn ()
 
virtual void DoublePrecisionMeshOff ()
 
virtual void SetLoadBndPatch (int)
 
virtual int GetLoadBndPatch ()
 
virtual void LoadBndPatchOn ()
 
virtual void LoadBndPatchOff ()
 
virtual void SetCreateEachSolutionAsBlock (int)
 
virtual int GetCreateEachSolutionAsBlock ()
 
virtual void CreateEachSolutionAsBlockOn ()
 
virtual void CreateEachSolutionAsBlockOff ()
 
void Broadcast (vtkMultiProcessController *ctrl)
 Sends metadata (that read from the input file, not settings modified through this API) from the rank 0 node to all other processes in a job. More...
 
virtual void SetFileName (const char *)
 Specify file name of CGNS datafile to read. More...
 
virtual char * GetFileName ()
 Specify file name of CGNS datafile to read. More...
 
void SetController (vtkMultiProcessController *c)
 Set/get the communication object used to relay a list of files from the rank 0 process to all others. More...
 
virtual vtkMultiProcessController * GetController ()
 Set/get the communication object used to relay a list of files from the rank 0 process to all others. More...
 

Static Public Member Functions

static vtkCGNSReaderNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCGNSReaderSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkCGNSReader ()
 
 ~vtkCGNSReader ()
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
int GetCurvilinearZone (int base, int zone, int cell_dim, int phys_dim, void *zsize, vtkMultiBlockDataSet *mbase)
 
int GetUnstructuredZone (int base, int zone, int cell_dim, int phys_dim, void *zsize, vtkMultiBlockDataSet *mbase)
 

Static Protected Member Functions

static void SelectionModifiedCallback (vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
 

Protected Attributes

vtkDataArraySelection * BaseSelection
 
vtkDataArraySelection * PointDataArraySelection
 
vtkDataArraySelection * CellDataArraySelection
 
vtkCallbackCommand * SelectionObserver
 
vtkMultiProcessController * Controller
 
vtkIdType ProcRank
 
vtkIdType ProcSize
 

Friends

class vtkPrivate
 

Detailed Description

vtkCGNSReader creates a multi-block dataset and reads unstructured grids, and structured meshes from binary files stored in CGNS file format, with data stored at the nodes or at the cells.

vtkCGNSReader is inspired by the VisIt CGNS reader originally written by B. Whitlock. vtkCGNSReader relies on the low level CGNS API to load DataSet and reduce memory footprint.

Warning
...
Thanks:
Thanks to .

Definition at line 51 of file vtkCGNSReader.h.

Member Typedef Documentation

§ Superclass

typedef vtkMultiBlockDataSetAlgorithm vtkCGNSReader::Superclass

Definition at line 55 of file vtkCGNSReader.h.

Constructor & Destructor Documentation

§ vtkCGNSReader()

vtkCGNSReader::vtkCGNSReader ( )
protected

§ ~vtkCGNSReader()

vtkCGNSReader::~vtkCGNSReader ( )
protected

Member Function Documentation

§ New()

static vtkCGNSReader* vtkCGNSReader::New ( )
static

§ GetClassName()

virtual const char* vtkCGNSReader::GetClassName ( )
virtual

§ IsTypeOf()

static int vtkCGNSReader::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkCGNSReader::IsA ( const char *  type)
virtual

§ SafeDownCast()

static vtkCGNSReader* vtkCGNSReader::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkCGNSReader::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ SetFileName()

virtual void vtkCGNSReader::SetFileName ( const char *  )
virtual

Specify file name of CGNS datafile to read.

§ GetFileName()

virtual char* vtkCGNSReader::GetFileName ( )
virtual

Specify file name of CGNS datafile to read.

§ CanReadFile()

int vtkCGNSReader::CanReadFile ( const char *  filename)

Is the given file name a CGNS file?

§ GetBaseArrayStatus()

int vtkCGNSReader::GetBaseArrayStatus ( const char *  name)

§ SetBaseArrayStatus()

void vtkCGNSReader::SetBaseArrayStatus ( const char *  name,
int  status 
)

§ DisableAllBases()

void vtkCGNSReader::DisableAllBases ( )

§ EnableAllBases()

void vtkCGNSReader::EnableAllBases ( )

§ GetNumberOfBaseArrays()

int vtkCGNSReader::GetNumberOfBaseArrays ( )

§ GetNumberOfPointArrays()

int vtkCGNSReader::GetNumberOfPointArrays ( )

§ GetNumberOfCellArrays()

int vtkCGNSReader::GetNumberOfCellArrays ( )

§ GetBaseArrayName()

const char* vtkCGNSReader::GetBaseArrayName ( int  index)

§ GetPointArrayName()

const char* vtkCGNSReader::GetPointArrayName ( int  index)

§ GetCellArrayName()

const char* vtkCGNSReader::GetCellArrayName ( int  index)

§ GetPointArrayStatus()

int vtkCGNSReader::GetPointArrayStatus ( const char *  name)

§ GetCellArrayStatus()

int vtkCGNSReader::GetCellArrayStatus ( const char *  name)

§ SetPointArrayStatus()

void vtkCGNSReader::SetPointArrayStatus ( const char *  name,
int  status 
)

§ SetCellArrayStatus()

void vtkCGNSReader::SetCellArrayStatus ( const char *  name,
int  status 
)

§ DisableAllPointArrays()

void vtkCGNSReader::DisableAllPointArrays ( )

§ EnableAllPointArrays()

void vtkCGNSReader::EnableAllPointArrays ( )

§ DisableAllCellArrays()

void vtkCGNSReader::DisableAllCellArrays ( )

§ EnableAllCellArrays()

void vtkCGNSReader::EnableAllCellArrays ( )

§ SetDoublePrecisionMesh()

virtual void vtkCGNSReader::SetDoublePrecisionMesh ( int  )
virtual

§ GetDoublePrecisionMesh()

virtual int vtkCGNSReader::GetDoublePrecisionMesh ( )
virtual

§ DoublePrecisionMeshOn()

virtual void vtkCGNSReader::DoublePrecisionMeshOn ( )
virtual

§ DoublePrecisionMeshOff()

virtual void vtkCGNSReader::DoublePrecisionMeshOff ( )
virtual

§ SetLoadBndPatch()

virtual void vtkCGNSReader::SetLoadBndPatch ( int  )
virtual

§ GetLoadBndPatch()

virtual int vtkCGNSReader::GetLoadBndPatch ( )
virtual

§ LoadBndPatchOn()

virtual void vtkCGNSReader::LoadBndPatchOn ( )
virtual

§ LoadBndPatchOff()

virtual void vtkCGNSReader::LoadBndPatchOff ( )
virtual

§ SetCreateEachSolutionAsBlock()

virtual void vtkCGNSReader::SetCreateEachSolutionAsBlock ( int  )
virtual

§ GetCreateEachSolutionAsBlock()

virtual int vtkCGNSReader::GetCreateEachSolutionAsBlock ( )
virtual

§ CreateEachSolutionAsBlockOn()

virtual void vtkCGNSReader::CreateEachSolutionAsBlockOn ( )
virtual

§ CreateEachSolutionAsBlockOff()

virtual void vtkCGNSReader::CreateEachSolutionAsBlockOff ( )
virtual

§ SetController()

void vtkCGNSReader::SetController ( vtkMultiProcessController *  c)

Set/get the communication object used to relay a list of files from the rank 0 process to all others.

This is the only interprocess communication required by vtkPExodusIIReader.

§ GetController()

virtual vtkMultiProcessController* vtkCGNSReader::GetController ( )
virtual

Set/get the communication object used to relay a list of files from the rank 0 process to all others.

This is the only interprocess communication required by vtkPExodusIIReader.

§ Broadcast()

void vtkCGNSReader::Broadcast ( vtkMultiProcessController *  ctrl)

Sends metadata (that read from the input file, not settings modified through this API) from the rank 0 node to all other processes in a job.

§ FillOutputPortInformation()

virtual int vtkCGNSReader::FillOutputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

§ RequestData()

virtual int vtkCGNSReader::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

§ RequestInformation()

virtual int vtkCGNSReader::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

§ SelectionModifiedCallback()

static void vtkCGNSReader::SelectionModifiedCallback ( vtkObject *  caller,
unsigned long  eid,
void *  clientdata,
void *  calldata 
)
staticprotected

§ GetCurvilinearZone()

int vtkCGNSReader::GetCurvilinearZone ( int  base,
int  zone,
int  cell_dim,
int  phys_dim,
void *  zsize,
vtkMultiBlockDataSet *  mbase 
)
protected

§ GetUnstructuredZone()

int vtkCGNSReader::GetUnstructuredZone ( int  base,
int  zone,
int  cell_dim,
int  phys_dim,
void *  zsize,
vtkMultiBlockDataSet *  mbase 
)
protected

Friends And Related Function Documentation

§ vtkPrivate

friend class vtkPrivate
friend

Definition at line 174 of file vtkCGNSReader.h.

Member Data Documentation

§ BaseSelection

vtkDataArraySelection* vtkCGNSReader::BaseSelection
protected

Definition at line 134 of file vtkCGNSReader.h.

§ PointDataArraySelection

vtkDataArraySelection* vtkCGNSReader::PointDataArraySelection
protected

Definition at line 135 of file vtkCGNSReader.h.

§ CellDataArraySelection

vtkDataArraySelection* vtkCGNSReader::CellDataArraySelection
protected

Definition at line 136 of file vtkCGNSReader.h.

§ SelectionObserver

vtkCallbackCommand* vtkCGNSReader::SelectionObserver
protected

Definition at line 140 of file vtkCGNSReader.h.

§ Controller

vtkMultiProcessController* vtkCGNSReader::Controller
protected

Definition at line 151 of file vtkCGNSReader.h.

§ ProcRank

vtkIdType vtkCGNSReader::ProcRank
protected

Definition at line 152 of file vtkCGNSReader.h.

§ ProcSize

vtkIdType vtkCGNSReader::ProcSize
protected

Definition at line 153 of file vtkCGNSReader.h.


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