Section: Visualization Toolkit Hybrid Classes
To create an instance of class vtkPExodusIIReader, simply invoke its constructor as follows
obj = vtkPExodusIIReader
obj
is an instance of the vtkPExodusIIReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPExodusIIReader = obj.NewInstance ()
vtkPExodusIIReader = obj.SafeDownCast (vtkObject o)
obj.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.
vtkMultiProcessController = obj.GetController ()
- 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.
obj.SetFilePattern (string )
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
string = obj.GetFilePattern ()
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
obj.SetFilePrefix (string )
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
string = obj.GetFilePrefix ()
- These methods tell the reader that the data is ditributed across
multiple files. This is for distributed execution. It this case,
pieces are mapped to files. The pattern should have one %d to
format the file number. FileNumberRange is used to generate file
numbers. I was thinking of having an arbitrary list of file
numbers. This may happen in the future. (That is why there is no
GetFileNumberRange method.
obj.SetFileRange (int , int )
- Set the range of files that are being loaded. The range for single
file should add to 0.
obj.SetFileRange (int r)
- Set the range of files that are being loaded. The range for single
file should add to 0.
int = obj. GetFileRange ()
- Set the range of files that are being loaded. The range for single
file should add to 0.
obj.SetFileName (string name)
int = obj.GetNumberOfFileNames ()
- Return the number of files to be read.
int = obj.GetNumberOfFiles ()
- Return the number of files to be read.
vtkIdType = obj.GetTotalNumberOfElements ()
vtkIdType = obj.GetTotalNumberOfNodes ()
obj.UpdateTimeInformation ()
- Calls UpdateTimeInformation() on all serial readers so they'll re-read
their time info from the file.
The last time step that they all have in common
is stored in LastCommonTimeStep, which is used in RequestInformation()
to override the output time-specific information keys with the range
of times that ALL readers can actually read.
obj.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.