56 #ifndef vtkExodusIIWriter_h
57 #define vtkExodusIIWriter_h
59 #include "vtkIOExodusModule.h"
67 VTK_ABI_NAMESPACE_BEGIN
100 vtkSetFilePathMacro(FileName);
101 vtkGetFilePathMacro(FileName);
110 vtkSetMacro(StoreDoubles,
int);
111 vtkGetMacro(StoreDoubles,
int);
118 vtkSetMacro(GhostLevel,
int);
119 vtkGetMacro(GhostLevel,
int);
129 vtkBooleanMacro(WriteOutBlockIdArray,
vtkTypeBool);
137 vtkSetMacro(WriteOutGlobalNodeIdArray,
vtkTypeBool);
138 vtkGetMacro(WriteOutGlobalNodeIdArray,
vtkTypeBool);
139 vtkBooleanMacro(WriteOutGlobalNodeIdArray,
vtkTypeBool);
147 vtkSetMacro(WriteOutGlobalElementIdArray,
vtkTypeBool);
148 vtkGetMacro(WriteOutGlobalElementIdArray,
vtkTypeBool);
149 vtkBooleanMacro(WriteOutGlobalElementIdArray,
vtkTypeBool);
160 vtkSetStringMacro(BlockIdArrayName);
161 vtkGetStringMacro(BlockIdArrayName);
168 vtkSetMacro(IgnoreMetaDataWarning,
bool);
169 vtkGetMacro(IgnoreMetaDataWarning,
bool);
170 vtkBooleanMacro(IgnoreMetaDataWarning,
bool);
214 this->Name =
nullptr;
216 this->NumElements = 0;
217 this->ElementStartIndex = -1;
218 this->NodesPerElement = 0;
219 this->EntityCounts = std::vector<int>();
220 this->EntityNodeOffsets = std::vector<int>();
222 this->OutputIndex = -1;
223 this->NumAttributes = 0;
224 this->BlockAttributes =
nullptr;
270 int BlockVariableTruthValue(
int blockIdx,
int varIdx);
272 char* StrDupWithNew(
const char* s);
293 int CreateNewExodusFile();
294 void CloseExodusFile();
297 void RemoveGhostCells();
298 int CheckParametersInternal(
int numberOfProcesses,
int myRank);
299 virtual int CheckParameters();
303 virtual int GlobalContinueExecuting(
int localContinueExecution);
304 int CheckInputArrays();
305 virtual void CheckBlockInfoMap();
306 int ConstructBlockInfoMap();
307 int ConstructVariableInfoMaps();
309 int CreateDefaultMetadata();
310 char* GetCellTypeName(
int t);
316 void ConvertVariableNames(std::map<std::string, VariableInfo>& variableMap);
317 char** FlattenOutVariableNames(
318 int nScalarArrays,
const std::map<std::string, VariableInfo>& variableMap);
328 int WriteInitializationParameters();
329 int WriteInformationRecords();
331 int WriteCoordinateNames();
332 int WriteGlobalPointIds();
333 int WriteBlockInformation();
334 int WriteGlobalElementIds();
335 int WriteVariableArrayNames();
336 int WriteNodeSetInformation();
337 int WriteSideSetInformation();
338 int WriteProperties();
339 int WriteNextTimeStep();
343 double ExtractGlobalData(
const char*
name,
int comp,
int ts);
344 int WriteGlobalData(
int timestep,
vtkDataArray* buffer);
354 virtual unsigned int GetMaxNameLength();
361 VTK_ABI_NAMESPACE_END
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