71 #ifndef vtkExodusIIWriter_h 72 #define vtkExodusIIWriter_h 74 #include "vtkIOExodusModule.h" 114 vtkSetStringMacro(FileName);
115 vtkGetStringMacro(FileName);
124 vtkSetMacro(StoreDoubles,
int);
125 vtkGetMacro(StoreDoubles,
int);
132 vtkSetMacro(GhostLevel,
int);
133 vtkGetMacro(GhostLevel,
int);
143 vtkBooleanMacro(WriteOutBlockIdArray,
vtkTypeBool);
151 vtkSetMacro(WriteOutGlobalNodeIdArray,
vtkTypeBool);
152 vtkGetMacro(WriteOutGlobalNodeIdArray,
vtkTypeBool);
153 vtkBooleanMacro(WriteOutGlobalNodeIdArray,
vtkTypeBool);
161 vtkSetMacro(WriteOutGlobalElementIdArray,
vtkTypeBool);
162 vtkGetMacro(WriteOutGlobalElementIdArray,
vtkTypeBool);
163 vtkBooleanMacro(WriteOutGlobalElementIdArray,
vtkTypeBool);
174 vtkSetStringMacro(BlockIdArrayName);
175 vtkGetStringMacro(BlockIdArrayName);
182 vtkSetMacro(IgnoreMetaDataWarning,
bool);
183 vtkGetMacro(IgnoreMetaDataWarning,
bool);
184 vtkBooleanMacro(IgnoreMetaDataWarning,
bool);
228 this->Name =
nullptr;
230 this->NumElements = 0;
231 this->ElementStartIndex = -1;
232 this->NodesPerElement = 0;
233 this->EntityCounts = std::vector<int>();
234 this->EntityNodeOffsets = std::vector<int>();
236 this->OutputIndex = -1;
237 this->NumAttributes = 0;
238 this->BlockAttributes =
nullptr;
284 int BlockVariableTruthValue(
int blockIdx,
int varIdx);
286 char *StrDupWithNew (
const char *s);
307 void WriteData ()
override;
311 int CreateNewExodusFile ();
312 void CloseExodusFile ();
315 void RemoveGhostCells ();
316 int CheckParametersInternal (
int NumberOfProcesses,
int MyRank);
317 virtual int CheckParameters ();
321 virtual int GlobalContinueExecuting(
int localContinueExecution);
322 int CheckInputArrays ();
323 virtual void CheckBlockInfoMap();
324 int ConstructBlockInfoMap ();
325 int ConstructVariableInfoMaps ();
326 int ParseMetadata ();
327 int CreateDefaultMetadata ();
328 char *GetCellTypeName (
int t);
334 void ConvertVariableNames (std::map<std::string, VariableInfo>& variableMap);
335 char **FlattenOutVariableNames (
337 const std::map<std::string, VariableInfo>& variableMap);
338 std::string CreateNameForScalarArray (
const char *root,
349 int WriteInitializationParameters ();
350 int WriteInformationRecords ();
352 int WriteCoordinateNames ();
353 int WriteGlobalPointIds ();
354 int WriteBlockInformation ();
355 int WriteGlobalElementIds ();
356 int WriteVariableArrayNames ();
357 int WriteNodeSetInformation ();
358 int WriteSideSetInformation ();
359 int WriteProperties ();
360 int WriteNextTimeStep ();
363 static bool SameTypeOfCells (
vtkIntArray* cellToBlockId,
366 double ExtractGlobalData (
const char *
name,
int comp,
int ts);
367 int WriteGlobalData (
int timestep,
vtkDataArray *buffer);
371 int WritePointData (
int timestep,
vtkDataArray *buffer);
377 virtual unsigned int GetMaxNameLength();
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > NewFlattenedInput
vtkTypeBool WriteOutBlockIdArray
std::map< std::string, VariableInfo > BlockVariableMap
std::map< std::string, VariableInfo > NodeVariableMap
int * BlockElementVariableTruthTable
std::map< vtkIdType, vtkIdType > * LocalElementIdMap
std::vector< std::vector< int > > CellToElementOffset
int AtLeastOneGlobalNodeIdList
vtkTypeBool WriteAllTimeSteps
std::vector< vtkStdString > FlattenedNames
std::vector< vtkIdType * > GlobalNodeIdList
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > FlattenedInput
vtkDataObject * OriginalInput
int NumberOfScalarGlobalArrays
dynamic, self-adjusting array of double
std::vector< vtkIntArray * > BlockIdList
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.
dynamic, self-adjusting array of int
a simple class to control print indentation
vtkTypeBool WriteOutGlobalNodeIdArray
int AtLeastOneGlobalElementIdList
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
std::vector< int > EntityCounts
std::vector< int > EntityNodeOffsets
std::vector< std::string > OutNames
int NumberOfScalarElementArrays
std::map< int, Block > BlockInfoMap
std::vector< vtkIdType * > GlobalElementIdList
int AllVariablesDefinedInAllBlocks
bool IgnoreMetaDataWarning
static vtkAlgorithm * New()
std::map< std::string, VariableInfo > GlobalVariableMap
general representation of visualization data
std::vector< vtkStdString > NewFlattenedNames
std::map< vtkIdType, vtkIdType > * LocalNodeIdMap
vtkTypeBool WriteOutGlobalElementIdArray
vtkModelMetadata * ModelMetadata
int NumberOfScalarNodeArrays