70 #ifndef vtkExodusIIWriter_h
71 #define vtkExodusIIWriter_h
109 vtkSetStringMacro(FileName);
110 vtkGetStringMacro(FileName);
117 vtkSetMacro(StoreDoubles,
int);
118 vtkGetMacro(StoreDoubles,
int);
123 vtkSetMacro(GhostLevel,
int);
124 vtkGetMacro(GhostLevel,
int);
131 vtkSetMacro(WriteOutBlockIdArray,
int);
132 vtkGetMacro(WriteOutBlockIdArray,
int);
133 vtkBooleanMacro(WriteOutBlockIdArray,
int);
139 vtkSetMacro(WriteOutGlobalNodeIdArray,
int);
140 vtkGetMacro(WriteOutGlobalNodeIdArray,
int);
141 vtkBooleanMacro(WriteOutGlobalNodeIdArray,
int);
147 vtkSetMacro(WriteOutGlobalElementIdArray,
int);
148 vtkGetMacro(WriteOutGlobalElementIdArray,
int);
149 vtkBooleanMacro(WriteOutGlobalElementIdArray,
int);
154 vtkSetMacro(WriteAllTimeSteps,
int);
155 vtkGetMacro(WriteAllTimeSteps,
int);
156 vtkBooleanMacro(WriteAllTimeSteps,
int);
158 vtkSetStringMacro(BlockIdArrayName);
159 vtkGetStringMacro(BlockIdArrayName);
202 this->NumElements = 0;
203 this->ElementStartIndex = -1;
204 this->NodesPerElement = 0;
205 this->EntityCounts = std::vector<int>();
206 this->EntityNodeOffsets = std::vector<int>();
208 this->OutputIndex = -1;
209 this->NumAttributes = 0;
210 this->BlockAttributes = 0;
258 int BlockVariableTruthValue(
int blockIdx,
int varIdx);
261 char *StrDupWithNew (
const char *s);
287 int CreateNewExodusFile ();
288 void CloseExodusFile ();
291 void RemoveGhostCells ();
292 int CheckParametersInternal (
int NumberOfProcesses,
int MyRank);
293 virtual int CheckParameters ();
297 virtual int GlobalContinueExecuting(
int localContinueExecution);
298 int CheckInputArrays ();
299 virtual void CheckBlockInfoMap();
300 int ConstructBlockInfoMap ();
301 int ConstructVariableInfoMaps ();
302 int ParseMetadata ();
303 int CreateDefaultMetadata ();
304 char *GetCellTypeName (
int t);
311 void ConvertVariableNames (std::map<std::string, VariableInfo>& variableMap);
312 char **FlattenOutVariableNames (
314 const std::map<std::string, VariableInfo>& variableMap);
315 std::string CreateNameForScalarArray (
const char *root,
326 int WriteInitializationParameters ();
327 int WriteInformationRecords ();
329 int WriteCoordinateNames ();
330 int WriteGlobalPointIds ();
331 int WriteBlockInformation ();
332 int WriteGlobalElementIds ();
333 int WriteVariableArrayNames ();
334 int WriteNodeSetInformation ();
335 int WriteSideSetInformation ();
336 int WriteProperties ();
337 int WriteNextTimeStep ();
340 static bool SameTypeOfCells (
vtkIntArray* cellToBlockId,
344 double ExtractGlobalData (
const char *
name,
int comp,
int ts);
345 int WriteGlobalData (
int timestep,
vtkDataArray *buffer);
349 int WritePointData (
int timestep,
vtkDataArray *buffer);
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > NewFlattenedInput
std::map< std::string, VariableInfo > BlockVariableMap
std::map< std::string, VariableInfo > NodeVariableMap
int * BlockElementVariableTruthTable
std::map< vtkIdType, vtkIdType > * LocalElementIdMap
vtkDoubleArray * TimeValues
std::vector< std::vector< int > > CellToElementOffset
int AtLeastOneGlobalNodeIdList
std::vector< vtkIdType * > GlobalNodeIdList
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > FlattenedInput
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDataObject * OriginalInput
int NumberOfScalarGlobalArrays
dynamic, self-adjusting array of double
std::vector< vtkIntArray * > BlockIdList
abstract class to write data to file(s)
dynamic, self-adjusting array of int
a simple class to control print indentation
int AtLeastOneGlobalElementIdList
dataset represents arbitrary combinations of all possible cell types
int WriteOutGlobalNodeIdArray
abstract superclass for arrays of numeric data
std::vector< int > EntityCounts
int WriteOutGlobalElementIdArray
#define VTKIOEXODUS_EXPORT
std::vector< int > EntityNodeOffsets
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillInputPortInformation(int port, vtkInformation *info)
std::vector< std::string > OutNames
int NumberOfScalarElementArrays
std::map< int, Block > BlockInfoMap
std::vector< vtkIdType * > GlobalElementIdList
int AllVariablesDefinedInAllBlocks
static vtkAlgorithm * New()
virtual void WriteData()=0
std::map< std::string, VariableInfo > GlobalVariableMap
general representation of visualization data
std::map< vtkIdType, vtkIdType > * LocalNodeIdMap
void PrintSelf(ostream &os, vtkIndent indent)
vtkModelMetadata * ModelMetadata
int NumberOfScalarNodeArrays