38 #ifndef vtkPSLACReader_h
39 #define vtkPSLACReader_h
41 #include "vtkIOParallelModule.h"
132 return process*(this->NumberOfGlobalPoints/this->NumberOfPieces + 1);
135 vtkIdType result = this->StartPointRead(process+1);
136 if (result > this->NumberOfGlobalPoints) result=this->NumberOfGlobalPoints;
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Composite dataset that organizes datasets into blocks.
Multiprocessing communication superclass.
Extends the vtkSLACReader to read in partitioned pieces.
virtual int MeshUpToDate()
Returns 1 if the mesh is up to date, 0 if the mesh needs to be read from disk.
vtkIdType NumberOfGlobalPoints
The number of points defined in the mesh file.
virtual int ReadConnectivity(int meshFD, vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput)
Read the connectivity information from the mesh file.
virtual int ReadMidpointData(int meshFD, vtkMultiBlockDataSet *output, MidpointIdMap &map)
Read in the midpoint data from the mesh file.
virtual int ReadTetrahedronExteriorArray(int meshFD, vtkIdTypeArray *connectivity)
virtual int ReadCoordinates(int meshFD, vtkMultiBlockDataSet *output)
Read in the point coordinate data from the mesh file.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetController(vtkMultiProcessController *)
int NumberOfPiecesCache
Piece information from the last call.
int NumberOfPieces
The number of pieces and the requested piece to load.
vtkIdType StartPointRead(int process)
The start/end points read by the given process.
virtual int RestoreMeshCache(vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput, vtkMultiBlockDataSet *compositeOutput)
Instead of reading data from the mesh file, restore the data from the previous mesh file read.
vtkMultiProcessController * Controller
virtual int ReadFieldData(const int *modeFDArray, int numModeFDs, vtkMultiBlockDataSet *output)
Read in the field data from the mode file.
virtual int ReadTetrahedronInteriorArray(int meshFD, vtkIdTypeArray *connectivity)
Reads tetrahedron connectivity arrays.
virtual vtkSmartPointer< vtkDataArray > ReadPointDataArray(int ncFD, int varId)
Reads point data arrays.
virtual int CheckTetrahedraWinding(int meshFD)
Checks the winding of the tetrahedra in the mesh file.
virtual int ReadMidpointCoordinates(int meshFD, vtkMultiBlockDataSet *output, MidpointCoordinateMap &map)
Reads in the midpoint coordinate data from the mesh file and returns a map from edges to midpoints.
vtkIdType NumberOfGlobalMidpoints
The number of midpoints defined in the mesh file.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPSLACReader * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIdType EndPointRead(int process)
Manages a map from edges to midpoint coordinates.
Manages a map from edges to the point id of the midpoint.
A reader for a data format used by Omega3p, Tau3p, and several other tools used at the Standford Line...