71 #ifndef vtkExodusIIWriter_h
72 #define vtkExodusIIWriter_h
74 #include "vtkIOExodusModule.h"
114 vtkSetFilePathMacro(FileName);
115 vtkGetFilePathMacro(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 int CreateNewExodusFile();
308 void CloseExodusFile();
311 void RemoveGhostCells();
312 int CheckParametersInternal(
int numberOfProcesses,
int myRank);
313 virtual int CheckParameters();
317 virtual int GlobalContinueExecuting(
int localContinueExecution);
318 int CheckInputArrays();
319 virtual void CheckBlockInfoMap();
320 int ConstructBlockInfoMap();
321 int ConstructVariableInfoMaps();
323 int CreateDefaultMetadata();
324 char* GetCellTypeName(
int t);
330 void ConvertVariableNames(std::map<std::string, VariableInfo>& variableMap);
331 char** FlattenOutVariableNames(
332 int nScalarArrays,
const std::map<std::string, VariableInfo>& variableMap);
342 int WriteInitializationParameters();
343 int WriteInformationRecords();
345 int WriteCoordinateNames();
346 int WriteGlobalPointIds();
347 int WriteBlockInformation();
348 int WriteGlobalElementIds();
349 int WriteVariableArrayNames();
350 int WriteNodeSetInformation();
351 int WriteSideSetInformation();
352 int WriteProperties();
353 int WriteNextTimeStep();
357 double ExtractGlobalData(
const char*
name,
int comp,
int ts);
358 int WriteGlobalData(
int timestep,
vtkDataArray* buffer);
368 virtual unsigned int GetMaxNameLength();
vtkTypeBool WriteOutBlockIdArray
std::map< std::string, VariableInfo > BlockVariableMap
std::map< std::string, VariableInfo > NodeVariableMap
int * BlockElementVariableTruthTable
std::map< vtkIdType, vtkIdType > * LocalElementIdMap
int AtLeastOneGlobalNodeIdList
vtkTypeBool WriteAllTimeSteps
std::vector< vtkIdType * > GlobalNodeIdList
vtkDataObject * OriginalInput
std::vector< vtkIntArray * > BlockIdList
int NumberOfScalarGlobalArrays
dynamic, self-adjusting array of double
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
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > NewFlattenedInput
std::vector< std::vector< int > > CellToElementOffset
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
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > FlattenedInput
std::vector< std::string > OutNames
int NumberOfScalarElementArrays
std::map< int, Block > BlockInfoMap
std::vector< vtkIdType * > GlobalElementIdList
std::vector< vtkStdString > NewFlattenedNames
int AllVariablesDefinedInAllBlocks
bool IgnoreMetaDataWarning
static vtkAlgorithm * New()
std::vector< vtkStdString > FlattenedNames
virtual void WriteData()=0
std::map< std::string, VariableInfo > GlobalVariableMap
general representation of visualization data
std::map< vtkIdType, vtkIdType > * LocalNodeIdMap
vtkTypeBool WriteOutGlobalElementIdArray
vtkModelMetadata * ModelMetadata
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
int NumberOfScalarNodeArrays