Go to the documentation of this file.
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;
154 #endif //vtkPSLACReader_h
int ReadMidpointCoordinates(int meshFD, vtkMultiBlockDataSet *output, MidpointCoordinateMap &map) override
Reads in the midpoint coordinate data from the mesh file and returns a map from edges to midpoints.
Manages a map from edges to midpoint coordinates.
Manages a map from edges to the point id of the midpoint.
int ReadFieldData(const int *modeFDArray, int numModeFDs, vtkMultiBlockDataSet *output) override
Read in the field data from the mode file.
vtkIdType NumberOfGlobalMidpoints
The number of midpoints defined in the mesh file.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Composite dataset that organizes datasets into blocks.
vtkIdType StartPointRead(int process)
The start/end points read by the given process.
int ReadMidpointData(int meshFD, vtkMultiBlockDataSet *output, MidpointIdMap &map) override
Read in the midpoint data from the mesh file.
int ReadTetrahedronInteriorArray(int meshFD, vtkIdTypeArray *connectivity) override
Reads tetrahedron connectivity arrays.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
Multiprocessing communication superclass.
a simple class to control print indentation
int NumberOfPieces
The number of pieces and the requested piece to load.
int ReadConnectivity(int meshFD, vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput) override
Read the connectivity information from the mesh file.
int CheckTetrahedraWinding(int meshFD) override
Checks the winding of the tetrahedra in the mesh file.
int ReadTetrahedronExteriorArray(int meshFD, vtkIdTypeArray *connectivity) override
vtkIdType NumberOfGlobalPoints
The number of points defined in the mesh file.
vtkSmartPointer< vtkDataArray > ReadPointDataArray(int ncFD, int varId) override
Reads point data arrays.
dynamic, self-adjusting array of vtkIdType
int ReadCoordinates(int meshFD, vtkMultiBlockDataSet *output) override
Read in the point coordinate data from the mesh file.
~vtkPSLACReader() override
vtkIdType EndPointRead(int process)
vtkMultiProcessController * Controller
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
virtual void SetController(vtkMultiProcessController *)
int NumberOfPiecesCache
Piece information from the last call.
static vtkPSLACReader * New()
int MeshUpToDate() override
Returns 1 if the mesh is up to date, 0 if the mesh needs to be read from disk.
int RestoreMeshCache(vtkMultiBlockDataSet *surfaceOutput, vtkMultiBlockDataSet *volumeOutput, vtkMultiBlockDataSet *compositeOutput) override
Instead of reading data from the mesh file, restore the data from the previous mesh file read.