33 #ifndef vtkEnSightWriter_h 34 #define vtkEnSightWriter_h 36 #include "vtkIOParallelModule.h" 57 vtkSetMacro(ProcessNumber,
int);
58 vtkGetMacro(ProcessNumber,
int);
65 vtkSetStringMacro(Path);
66 vtkGetStringMacro(Path);
73 vtkSetStringMacro(BaseName);
74 vtkGetStringMacro(BaseName);
81 vtkSetStringMacro(FileName);
82 vtkGetStringMacro(FileName);
89 vtkSetMacro(TimeStep,
int);
90 vtkGetMacro(TimeStep,
int);
97 vtkSetMacro(GhostLevel,
int);
98 vtkGetMacro(GhostLevel,
int);
106 vtkSetMacro(TransientGeometry,
bool);
107 vtkGetMacro(TransientGeometry,
bool);
114 vtkSetMacro(NumberOfBlocks,
int);
115 vtkGetMacro(NumberOfBlocks,
int);
149 virtual void WriteCaseFile(
int TotalTimeSteps);
150 virtual void WriteSOSCaseFile(
int NumProcs);
161 virtual void WriteStringToFile(
const char*
string, FILE* file);
162 virtual void WriteTerminatedStringToFile(
const char*
string, FILE* file);
163 virtual void WriteIntToFile(
const int i,FILE* file);
164 virtual void WriteFloatToFile(
const float f,FILE* file);
165 virtual void WriteElementTypeToFile(
int ElementType, FILE* fd);
167 virtual bool ShouldWriteGeometry();
168 virtual void SanitizeFileName(
char*
name);
169 virtual FILE* OpenFile(
char* name);
174 int GetExodusModelIndex(
int *ElementArray,
int NumberElements,
int PartID);
write vtk unstructured grid data as an EnSight file
void SetInputData(vtkDataObject *input)
Set/get the input to this writer.
abstract class to write data to file(s)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkDataObject * GetInput()
dataset represents arbitrary combinations of all possible cell types
virtual int * GetBlockIDs()
set the array of Block ID's this class keeps a reference to the array and will not delete it ...
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkUnstructuredGrid * TmpInput
static vtkAlgorithm * New()
virtual void WriteData()=0
virtual void SetBlockIDs(int *val)
set the array of Block ID's this class keeps a reference to the array and will not delete it ...