70 #ifndef __vtkExodusIIWriter_h
71 #define __vtkExodusIIWriter_h
201 this->NumElements = 0;
202 this->ElementStartIndex = -1;
203 this->NodesPerElement = 0;
204 this->EntityCounts = std::vector<int>();
205 this->EntityNodeOffsets = std::vector<int>();
207 this->OutputIndex = -1;
208 this->NumAttributes = 0;
209 this->BlockAttributes = 0;
257 int BlockVariableTruthValue(
int blockIdx,
int varIdx);
260 char *StrDupWithNew (
const char *
s);
282 int CreateNewExodusFile ();
283 void CloseExodusFile ();
286 void RemoveGhostCells ();
287 int CheckParametersInternal (
int NumberOfProcesses,
int MyRank);
288 virtual int CheckParameters ();
289 int CheckInputArrays ();
290 virtual void CheckBlockInfoMap();
291 int ConstructBlockInfoMap ();
292 int ConstructVariableInfoMaps ();
293 int ParseMetadata ();
294 int CreateDefaultMetadata ();
295 char *GetCellTypeName (
int t);
301 void ConvertVariableNames (std::map<std::string, VariableInfo>& variableMap);
302 char **FlattenOutVariableNames (
304 const std::map<std::string, VariableInfo>& variableMap);
305 std::string CreateNameForScalarArray (
const char *root,
315 int WriteInitializationParameters ();
316 int WriteQARecords ();
317 int WriteInformationRecords ();
319 int WriteCoordinateNames ();
320 int WriteGlobalPointIds ();
321 int WriteBlockInformation ();
322 int WriteGlobalElementIds ();
323 int WriteVariableArrayNames ();
324 int WriteNodeSetInformation ();
325 int WriteSideSetInformation ();
326 int WriteProperties ();
327 int WriteNextTimeStep ();
330 double ExtractGlobalData (
const char *
name,
int comp,
int ts);
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > NewFlattenedInput
std::map< std::string, VariableInfo > BlockVariableMap
std::map< std::string, VariableInfo > NodeVariableMap
int * BlockElementVariableTruthTable
GLenum GLenum GLenum input
std::map< vtkIdType, vtkIdType > * LocalElementIdMap
vtkDoubleArray * TimeValues
std::vector< std::vector< int > > CellToElementOffset
#define vtkGetMacro(name, type)
int AtLeastOneGlobalNodeIdList
std::vector< vtkIdType * > GlobalNodeIdList
std::vector< vtkSmartPointer< vtkUnstructuredGrid > > FlattenedInput
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDataObject * OriginalInput
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
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
GLuint const GLchar * name
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
#define vtkGetStringMacro(name)
#define vtkGetObjectMacro(name, type)
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()
#define vtkBooleanMacro(name, type)
virtual void WriteData()=0
std::map< std::string, VariableInfo > GlobalVariableMap
general representation of visualization data
std::map< vtkIdType, vtkIdType > * LocalNodeIdMap
GLsizei const GLchar ** string
void PrintSelf(ostream &os, vtkIndent indent)
vtkModelMetadata * ModelMetadata
int NumberOfScalarNodeArrays
#define vtkSetMacro(name, type)