vtkPSLACReader Class Reference

#include <vtkPSLACReader.h>

Inheritance diagram for vtkPSLACReader:

Inheritance graph
[legend]
Collaboration diagram for vtkPSLACReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

Extends the vtkSLACReader to read in partitioned pieces. Due to the nature of the data layout, this reader only works in a data parallel mode where each process in a parallel job simultaneously attempts to read the piece corresponding to the local process id.

Tests:
vtkPSLACReader (Tests)

Definition at line 44 of file vtkPSLACReader.h.


Public Types

typedef vtkSLACReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkMultiProcessControllerGetController ()
virtual void SetController (vtkMultiProcessController *)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPSLACReaderSafeDownCast (vtkObject *o)
static vtkPSLACReaderNew ()

Protected Member Functions

 vtkPSLACReader ()
 ~vtkPSLACReader ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int CheckTetrahedraWinding (int meshFD)
virtual int ReadConnectivity (int meshFD, vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput)
virtual int ReadCoordinates (int meshFD, vtkMultiBlockDataSet *output)
virtual int ReadMidpointCoordinates (int meshFD, vtkMultiBlockDataSet *output, MidpointCoordinateMap &map)
virtual int ReadMidpointData (int meshFD, vtkMultiBlockDataSet *output, MidpointIdMap &map)
virtual int RestoreMeshCache (vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput, vtkMultiBlockDataSet *compositeOutput)
virtual int ReadFieldData (int modeFD, vtkMultiBlockDataSet *output)
virtual int ReadTetrahedronInteriorArray (int meshFD, vtkIdTypeArray *connectivity)
virtual int ReadTetrahedronExteriorArray (int meshFD, vtkIdTypeArray *connectivity)
virtual int MeshUpToDate ()
virtual vtkSmartPointer
< vtkDataArray
ReadPointDataArray (int ncFD, int varId)
vtkIdType StartPointRead (int process)
vtkIdType EndPointRead (int process)

Protected Attributes

vtkMultiProcessControllerController
vtkInternal * Internal
vtkIdType NumberOfGlobalPoints
vtkIdType NumberOfGlobalMidpoints
int NumberOfPieces
int RequestedPiece
int NumberOfPiecesCache
int RequestedPieceCache

Member Typedef Documentation

Reimplemented from vtkSLACReader.

Definition at line 47 of file vtkPSLACReader.h.


Constructor & Destructor Documentation

vtkPSLACReader::vtkPSLACReader (  )  [protected]

vtkPSLACReader::~vtkPSLACReader (  )  [protected]


Member Function Documentation

virtual const char* vtkPSLACReader::GetClassName (  )  [virtual]

Reimplemented from vtkSLACReader.

static int vtkPSLACReader::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 vtkSLACReader.

virtual int vtkPSLACReader::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 vtkSLACReader.

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

Reimplemented from vtkSLACReader.

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkSLACReader.

virtual void vtkPSLACReader::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 vtkSLACReader.

virtual vtkMultiProcessController* vtkPSLACReader::GetController (  )  [virtual]

The controller used to communicate partition data. The number of pieces requested must agree with the number of processes, the piece requested must agree with the local process id, and all process must invoke ProcessRequests of this filter simultaneously.

virtual void vtkPSLACReader::SetController ( vtkMultiProcessController  )  [virtual]

The controller used to communicate partition data. The number of pieces requested must agree with the number of processes, the piece requested must agree with the local process id, and all process must invoke ProcessRequests of this filter simultaneously.

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

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

Reimplemented from vtkSLACReader.

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

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

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::CheckTetrahedraWinding ( int  meshFD  )  [protected, virtual]

Checks the winding of the tetrahedra in the mesh file. Returns 1 if the winding conforms to VTK, 0 if the winding needs to be corrected.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadConnectivity ( int  meshFD,
vtkMultiBlockDataSet surfaceOutput,
vtkMultiBlockDataSet volumeOutput 
) [protected, virtual]

Read the connectivity information from the mesh file. Returns 1 on success, 0 on failure.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadCoordinates ( int  meshFD,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read in the point coordinate data from the mesh file. Returns 1 on success, 0 on failure.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadMidpointCoordinates ( int  meshFD,
vtkMultiBlockDataSet output,
MidpointCoordinateMap map 
) [protected, virtual]

Reads in the midpoint coordinate data from the mesh file and returns a map from edges to midpoints. This method is called by ReadMidpointData. Returns 1 on success, 0 on failure.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadMidpointData ( int  meshFD,
vtkMultiBlockDataSet output,
MidpointIdMap map 
) [protected, virtual]

Read in the midpoint data from the mesh file. Returns 1 on success, 0 on failure. Also fills a midpoint id map that will be passed into InterpolateMidpointFieldData.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::RestoreMeshCache ( vtkMultiBlockDataSet surfaceOutput,
vtkMultiBlockDataSet volumeOutput,
vtkMultiBlockDataSet compositeOutput 
) [protected, virtual]

Instead of reading data from the mesh file, restore the data from the previous mesh file read.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadFieldData ( int  modeFD,
vtkMultiBlockDataSet output 
) [protected, virtual]

Read in the field data from the mode file. Returns 1 on success, 0 on failure.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadTetrahedronInteriorArray ( int  meshFD,
vtkIdTypeArray connectivity 
) [protected, virtual]

Reads tetrahedron connectivity arrays. Called by ReadConnectivity.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::ReadTetrahedronExteriorArray ( int  meshFD,
vtkIdTypeArray connectivity 
) [protected, virtual]

Reads tetrahedron connectivity arrays. Called by ReadConnectivity.

Reimplemented from vtkSLACReader.

virtual int vtkPSLACReader::MeshUpToDate (  )  [protected, virtual]

Returns 1 if the mesh is up to date, 0 if the mesh needs to be read from disk.

Reimplemented from vtkSLACReader.

virtual vtkSmartPointer<vtkDataArray> vtkPSLACReader::ReadPointDataArray ( int  ncFD,
int  varId 
) [protected, virtual]

Reads point data arrays. Called by ReadCoordinates and ReadFieldData.

Reimplemented from vtkSLACReader.

vtkIdType vtkPSLACReader::StartPointRead ( int  process  )  [inline, protected]

The start/end points read by the given process.

Definition at line 122 of file vtkPSLACReader.h.

vtkIdType vtkPSLACReader::EndPointRead ( int  process  )  [inline, protected]

The start/end points read by the given process.

Definition at line 125 of file vtkPSLACReader.h.


Member Data Documentation

Definition at line 64 of file vtkPSLACReader.h.

vtkInternal* vtkPSLACReader::Internal [protected]

Reimplemented from vtkSLACReader.

Definition at line 103 of file vtkPSLACReader.h.

The number of pieces and the requested piece to load. Synonymous with the number of processes and the local process id.

Definition at line 110 of file vtkPSLACReader.h.

The number of pieces and the requested piece to load. Synonymous with the number of processes and the local process id.

Definition at line 111 of file vtkPSLACReader.h.

The number of points defined in the mesh file.

Definition at line 115 of file vtkPSLACReader.h.

The number of midpoints defined in the mesh file

Definition at line 118 of file vtkPSLACReader.h.

Piece information from the last call.

Definition at line 134 of file vtkPSLACReader.h.

Piece information from the last call.

Definition at line 135 of file vtkPSLACReader.h.


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

Generated on Wed Aug 24 11:58:54 2011 for VTK by  doxygen 1.5.6