VTK
|
#include <vtkPSLACReader.h>
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.
Definition at line 45 of file vtkPSLACReader.h.
Reimplemented from vtkSLACReader.
Definition at line 48 of file vtkPSLACReader.h.
vtkPSLACReader::vtkPSLACReader | ( | ) | [protected] |
vtkPSLACReader::~vtkPSLACReader | ( | ) | [protected] |
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkSLACReader.
virtual vtkObjectBase* vtkPSLACReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkSLACReader.
vtkPSLACReader* vtkPSLACReader::NewInstance | ( | ) | const |
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 | ( | const int * | modeFDArray, |
int | numModeFDs, | ||
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 125 of file vtkPSLACReader.h.
vtkIdType vtkPSLACReader::EndPointRead | ( | int | process | ) | [inline, protected] |
The start/end points read by the given process.
Definition at line 128 of file vtkPSLACReader.h.
vtkMultiProcessController* vtkPSLACReader::Controller [protected] |
Definition at line 65 of file vtkPSLACReader.h.
vtkInternal* vtkPSLACReader::Internal [protected] |
Reimplemented from vtkSLACReader.
Definition at line 106 of file vtkPSLACReader.h.
int vtkPSLACReader::NumberOfPieces [protected] |
The number of pieces and the requested piece to load. Synonymous with the number of processes and the local process id.
Definition at line 113 of file vtkPSLACReader.h.
int vtkPSLACReader::RequestedPiece [protected] |
The number of pieces and the requested piece to load. Synonymous with the number of processes and the local process id.
Definition at line 114 of file vtkPSLACReader.h.
vtkIdType vtkPSLACReader::NumberOfGlobalPoints [protected] |
The number of points defined in the mesh file.
Definition at line 118 of file vtkPSLACReader.h.
vtkIdType vtkPSLACReader::NumberOfGlobalMidpoints [protected] |
The number of midpoints defined in the mesh file
Definition at line 121 of file vtkPSLACReader.h.
int vtkPSLACReader::NumberOfPiecesCache [protected] |
Piece information from the last call.
Definition at line 137 of file vtkPSLACReader.h.
int vtkPSLACReader::RequestedPieceCache [protected] |
Piece information from the last call.
Definition at line 138 of file vtkPSLACReader.h.