18 #ifndef vtkParallelSerialWriter_h 19 #define vtkParallelSerialWriter_h 28 class vtkPartitionedDataSet;
55 vtkSetStringMacro(FileNameMethod);
56 vtkGetStringMacro(FileNameMethod);
63 vtkSetStringMacro(FileName);
64 vtkGetStringMacro(FileName);
77 vtkGetMacro(Piece,
int);
78 vtkSetMacro(Piece,
int);
85 vtkGetMacro(NumberOfPieces,
int);
86 vtkSetMacro(NumberOfPieces,
int);
93 vtkGetMacro(GhostLevel,
int);
94 vtkSetMacro(GhostLevel,
int);
122 vtkGetMacro(WriteAllTimeSteps,
int);
123 vtkSetMacro(WriteAllTimeSteps,
int);
124 vtkBooleanMacro(WriteAllTimeSteps,
int);
140 vtkGetStringMacro(FileNameSuffix);
141 vtkSetStringMacro(FileNameSuffix);
152 vtkSetClampMacro(NumberOfIORanks,
int, 0,
VTK_INT_MAX);
153 vtkGetMacro(NumberOfIORanks,
int);
159 ASSIGNMENT_MODE_ROUND_ROBIN
179 RankAssignmentMode,
int, ASSIGNMENT_MODE_CONTIGUOUS, ASSIGNMENT_MODE_ROUND_ROBIN);
180 vtkGetMacro(RankAssignmentMode,
int);
207 void WriteATimestep(
const std::string& fname, vtkPartitionedDataSet* input);
208 void WriteAFile(
const std::string& fname,
vtkDataObject* input);
210 void SetWriterFileName(
const char* fname);
211 void WriteInternal();
213 std::string GetPartitionFileName(
const std::string& fname);
219 char* FileNameMethod;
224 int WriteAllTimeSteps;
225 int NumberOfTimeSteps;
226 int CurrentTimeIndex;
230 char* FileNameSuffix;
235 int RankAssignmentMode;
239 int SubControllerColor;
#define VTKPVVTKEXTENSIONSIOCORE_EXPORT
void SetInterpreter(vtkClientServerInterpreter *interp)
Get/Set the interpreter to use to call methods on the writer.
static vtkDataObjectAlgorithm * New()
vtkTypeUInt64 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Run-time VTK interpreter.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual vtkMTimeType GetMTime()
parallel meta-writer for serial formats
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)