68 #ifndef vtkExodusIIWriter_h 69 #define vtkExodusIIWriter_h 71 #include "vtkIOExodusModule.h" 111 vtkSetStringMacro(FileName);
122 vtkGetMacro(StoreDoubles,
int);
130 vtkGetMacro(GhostLevel,
int);
139 vtkGetMacro(WriteOutBlockIdArray,
int);
149 vtkGetMacro(WriteOutGlobalNodeIdArray,
int);
159 vtkGetMacro(WriteOutGlobalElementIdArray,
int);
168 vtkGetMacro(WriteAllTimeSteps,
int);
171 vtkSetStringMacro(BlockIdArrayName);
180 vtkGetMacro(IgnoreMetaDataWarning,
bool);
189 char *BlockIdArrayName;
194 int NumberOfProcesses;
201 int WriteOutBlockIdArray;
202 int WriteOutGlobalNodeIdArray;
203 int WriteOutGlobalElementIdArray;
204 int WriteAllTimeSteps;
205 int NumberOfTimeSteps;
207 int CurrentTimeIndex;
209 bool TopologyChanged;
210 bool IgnoreMetaDataWarning;
227 this->NumElements = 0;
228 this->ElementStartIndex = -1;
229 this->NodesPerElement = 0;
230 this->EntityCounts = std::vector<int>();
231 this->EntityNodeOffsets = std::vector<int>();
233 this->OutputIndex = -1;
234 this->NumAttributes = 0;
235 this->BlockAttributes = 0;
281 int BlockVariableTruthValue(
int blockIdx,
int varIdx);
283 char *StrDupWithNew (
const char *s);
308 int CreateNewExodusFile ();
309 void CloseExodusFile ();
312 void RemoveGhostCells ();
313 int CheckParametersInternal (
int NumberOfProcesses,
int MyRank);
314 virtual
int CheckParameters ();
318 virtual
int GlobalContinueExecuting(
int localContinueExecution);
319 int CheckInputArrays ();
320 virtual
void CheckBlockInfoMap();
321 int ConstructBlockInfoMap ();
322 int ConstructVariableInfoMaps ();
323 int ParseMetadata ();
324 int CreateDefaultMetadata ();
325 char *GetCellTypeName (
int t);
331 void ConvertVariableNames (std::map<std::
string,
VariableInfo>& variableMap);
332 char **FlattenOutVariableNames (
334 const std::map<std::
string,
VariableInfo>& variableMap);
335 std::
string CreateNameForScalarArray (const
char *root,
346 int WriteInitializationParameters ();
347 int WriteInformationRecords ();
349 int WriteCoordinateNames ();
350 int WriteGlobalPointIds ();
351 int WriteBlockInformation ();
352 int WriteGlobalElementIds ();
353 int WriteVariableArrayNames ();
354 int WriteNodeSetInformation ();
355 int WriteSideSetInformation ();
356 int WriteProperties ();
357 int WriteNextTimeStep ();
360 static
bool SameTypeOfCells (
vtkIntArray* cellToBlockId,
363 double ExtractGlobalData (const
char *
name,
int comp,
int ts);
364 int WriteGlobalData (
int timestep,
vtkDataArray *buffer);
368 int WritePointData (
int timestep,
vtkDataArray *buffer);
Wrapper around std::string to keep symbols short.
std::map< std::string, VariableInfo > BlockVariableMap
std::map< std::string, VariableInfo > NodeVariableMap
int * BlockElementVariableTruthTable
std::vector< std::vector< int > > CellToElementOffset
int AtLeastOneGlobalNodeIdList
int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
std::vector< vtkIdType * > GlobalNodeIdList
Hold a reference to a vtkObjectBase instance.
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
int AtLeastOneGlobalElementIdList
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
std::vector< int > EntityCounts
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
std::map< std::string, VariableInfo > GlobalVariableMap
general representation of visualization data
int NumberOfScalarNodeArrays