VTK
vtkExodusIIReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExodusIIReader.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*----------------------------------------------------------------------------
16 Copyright (c) Sandia Corporation
17 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18----------------------------------------------------------------------------*/
19
40#ifndef vtkExodusIIReader_h
41#define vtkExodusIIReader_h
42
43#include "vtkIOExodusModule.h" // For export macro
45
46class vtkDataArray;
47class vtkDataSet;
50class vtkFloatArray;
51class vtkGraph;
52class vtkIntArray;
53class vtkPoints;
55
56class VTKIOEXODUS_EXPORT vtkExodusIIReader : public vtkMultiBlockDataSetAlgorithm
57{
58public:
61 void PrintSelf(ostream& os, vtkIndent indent);
62
66 int CanReadFile(const char* fname);
67
68 //virtual void Modified();
69
74
81
83
86 virtual void SetFileName( const char* fname );
89
91
94 virtual void SetXMLFileName( const char* fname );
95 vtkGetStringMacro(XMLFileName);
97
99
102 vtkSetMacro(TimeStep, int);
103 vtkGetMacro(TimeStep, int);
105
110 void SetModeShape(int val)
111 {
112 this->SetTimeStep(val-1);
113 }
114
116
122 vtkGetVector2Macro(ModeShapesRange, int);
124
126
131 vtkGetVector2Macro(TimeStepRange,int);
133
135
146 virtual void SetGenerateObjectIdCellArray( int g );
148 vtkBooleanMacro(GenerateObjectIdCellArray, int);
149 static const char *GetObjectIdArrayName() { return "ObjectId"; }
151
152 virtual void SetGenerateGlobalElementIdArray( int g );
154 vtkBooleanMacro(GenerateGlobalElementIdArray, int);
155
156 virtual void SetGenerateGlobalNodeIdArray( int g );
158 vtkBooleanMacro(GenerateGlobalNodeIdArray, int);
159
162 vtkBooleanMacro(GenerateImplicitElementIdArray, int);
163
164 virtual void SetGenerateImplicitNodeIdArray( int g );
166 vtkBooleanMacro(GenerateImplicitNodeIdArray, int);
167
168 virtual void SetGenerateFileIdArray( int f );
170 vtkBooleanMacro(GenerateFileIdArray, int);
171 virtual void SetFileId( int f );
173
175
181 enum {
182 SEARCH_TYPE_ELEMENT=0,
186 ID_NOT_FOUND=-234121312
187 };
188 // NOTE: GetNumberOfObjectTypes must be updated whenever you add an entry to enum ObjectType {...}
190 // match Exodus macros from exodusII.h and exodusII_ext.h
191 EDGE_BLOCK = 6,
192 FACE_BLOCK = 8,
193 ELEM_BLOCK = 1,
194 NODE_SET = 2,
195 EDGE_SET = 7,
196 FACE_SET = 9,
197 SIDE_SET = 3,
198 ELEM_SET = 10,
199 NODE_MAP = 5,
200 EDGE_MAP = 11,
201 FACE_MAP = 12,
202 ELEM_MAP = 4,
203 GLOBAL = 13,
204 NODAL = 14,
205 // extended values (not in Exodus headers) for use with SetAllArrayStatus:
206 ASSEMBLY = 60,
207 PART = 61,
208 MATERIAL = 62,
209 HIERARCHY = 63,
210 // extended values (not in Exodus headers) for use in cache keys:
211 QA_RECORDS = 103,
212 INFO_RECORDS = 104,
213 GLOBAL_TEMPORAL = 102,
214 NODAL_TEMPORAL = 101,
215 ELEM_BLOCK_TEMPORAL = 100,
216 GLOBAL_CONN = 99,
217 ELEM_BLOCK_ELEM_CONN = 98,
218 ELEM_BLOCK_FACE_CONN = 97,
219 ELEM_BLOCK_EDGE_CONN = 96,
220 FACE_BLOCK_CONN = 95,
221 EDGE_BLOCK_CONN = 94,
222 ELEM_SET_CONN = 93,
223 SIDE_SET_CONN = 92,
224 FACE_SET_CONN = 91,
225 EDGE_SET_CONN = 90,
226 NODE_SET_CONN = 89,
227 NODAL_COORDS = 88,
228 OBJECT_ID = 87,
229 IMPLICIT_ELEMENT_ID = 108,
230 IMPLICIT_NODE_ID = 107,
231 GLOBAL_ELEMENT_ID = 86,
232 GLOBAL_NODE_ID = 85,
233 ELEMENT_ID = 84,
234 NODE_ID = 83,
235 NODAL_SQUEEZEMAP = 82,
236 ELEM_BLOCK_ATTRIB = 81,
237 FACE_BLOCK_ATTRIB = 80,
238 EDGE_BLOCK_ATTRIB = 79,
239 FACE_ID = 105,
240 EDGE_ID = 106,
241 ENTITY_COUNTS = 109
242 };
244
245 static const char* GetGlobalElementIdArrayName() { return "GlobalElementId"; }
246 static const char* GetPedigreeElementIdArrayName() { return "PedigreeElementId"; }
247 static int GetGlobalElementID( vtkDataSet *data, int localID );
248 static int GetGlobalElementID ( vtkDataSet *data, int localID,
249 int searchType );
250 static const char* GetImplicitElementIdArrayName() { return "ImplicitElementId"; }
251
252 static const char* GetGlobalFaceIdArrayName() { return "GlobalFaceId"; }
253 static const char* GetPedigreeFaceIdArrayName() { return "PedigreeFaceId"; }
254 static int GetGlobalFaceID( vtkDataSet *data, int localID );
255 static int GetGlobalFaceID ( vtkDataSet *data, int localID,
256 int searchType );
257 static const char* GetImplicitFaceIdArrayName() { return "ImplicitFaceId"; }
258
259 static const char* GetGlobalEdgeIdArrayName() { return "GlobalEdgeId"; }
260 static const char* GetPedigreeEdgeIdArrayName() { return "PedigreeEdgeId"; }
261 static int GetGlobalEdgeID( vtkDataSet *data, int localID );
262 static int GetGlobalEdgeID ( vtkDataSet *data, int localID,
263 int searchType );
264 static const char* GetImplicitEdgeIdArrayName() { return "ImplicitEdgeId"; }
265
267
273 static const char* GetGlobalNodeIdArrayName() { return "GlobalNodeId"; }
274 static const char* GetPedigreeNodeIdArrayName() { return "PedigreeNodeId"; }
275 static int GetGlobalNodeID( vtkDataSet *data, int localID );
276 static int GetGlobalNodeID( vtkDataSet *data, int localID,
277 int searchType );
278 static const char* GetImplicitNodeIdArrayName() { return "ImplicitNodeId"; }
280
285 static const char* GetSideSetSourceElementIdArrayName() { return "SourceElementId"; }
286
291 static const char* GetSideSetSourceElementSideArrayName() { return "SourceElementSide"; }
293
300 virtual void SetApplyDisplacements( int d );
302 vtkBooleanMacro(ApplyDisplacements, int);
303 virtual void SetDisplacementMagnitude( float s );
306
308
313 virtual void SetHasModeShapes( int ms );
315 vtkBooleanMacro(HasModeShapes,int);
317
319
326 virtual void SetModeShapeTime( double phase );
329
331
338 virtual void SetAnimateModeShapes(int flag);
340 vtkBooleanMacro(AnimateModeShapes, int);
342
344
347 const char* GetTitle();
351
356
357 int GetObjectTypeFromName( const char* name );
358 const char* GetObjectTypeName( int );
359
361 int GetNumberOfObjects( int objectType );
362 int GetNumberOfEntriesInObject( int objectType, int objectIndex );
363 int GetObjectId( int objectType, int objectIndex );
364 const char* GetObjectName( int objectType, int objectIndex );
365 int GetObjectIndex( int objectType, const char* objectName );
366 int GetObjectIndex( int objectType, int id );
367 int GetObjectStatus( int objectType, int objectIndex );
368 int GetObjectStatus( int objectType, const char* objectName )
369 { return this->GetObjectStatus( objectType, this->GetObjectIndex( objectType, objectName ) ); }
370 void SetObjectStatus( int objectType, int objectIndex, int status );
371 void SetObjectStatus( int objectType, const char* objectName, int status );
372
374
380 int GetNumberOfObjectArrays( int objectType );
381 const char* GetObjectArrayName( int objectType, int arrayIndex );
382 int GetObjectArrayIndex( int objectType, const char* arrayName );
383 int GetNumberOfObjectArrayComponents( int objectType, int arrayIndex );
384 int GetObjectArrayStatus( int objectType, int arrayIndex );
385 int GetObjectArrayStatus( int objectType, const char* arrayName )
386 { return this->GetObjectArrayStatus( objectType, this->GetObjectArrayIndex( objectType, arrayName ) ); }
387 void SetObjectArrayStatus( int objectType, int arrayIndex, int status );
388 void SetObjectArrayStatus( int objectType, const char* arrayName, int status );
390
392
398 int GetNumberOfObjectAttributes( int objectType, int objectIndex );
399 const char* GetObjectAttributeName( int objectType, int objectIndex, int attribIndex );
400 int GetObjectAttributeIndex( int objectType, int objectIndex, const char* attribName );
401 int GetObjectAttributeStatus( int objectType, int objectIndex, int attribIndex );
402 int GetObjectAttributeStatus( int objectType, int objectIndex, const char* attribName )
403 { return this->GetObjectAttributeStatus( objectType, objectIndex,
404 this->GetObjectAttributeIndex( objectType, objectIndex, attribName ) ); }
405 void SetObjectAttributeStatus( int objectType, int objectIndex, int attribIndex, int status );
406 void SetObjectAttributeStatus( int objectType, int objectIndex, const char* attribName, int status )
407 { this->SetObjectAttributeStatus( objectType, objectIndex,
408 this->GetObjectAttributeIndex( objectType, objectIndex, attribName ), status ); }
410
415
417
423 const char* GetPartArrayName(int arrayIdx);
424 int GetPartArrayID( const char *name );
425 const char* GetPartBlockInfo(int arrayIdx);
426 void SetPartArrayStatus(int index, int flag);
427 void SetPartArrayStatus(const char*, int flag);
429 int GetPartArrayStatus(const char*);
431
432
434
441 const char* GetMaterialArrayName(int arrayIdx);
442 int GetMaterialArrayID( const char *name );
443 void SetMaterialArrayStatus(int index, int flag);
444 void SetMaterialArrayStatus(const char*, int flag);
446 int GetMaterialArrayStatus(const char*);
448
450
457 const char* GetAssemblyArrayName(int arrayIdx);
458 int GetAssemblyArrayID( const char *name );
459 void SetAssemblyArrayStatus(int index, int flag);
460 void SetAssemblyArrayStatus(const char*, int flag);
462 int GetAssemblyArrayStatus(const char*);
464
466
476 const char* GetHierarchyArrayName(int arrayIdx);
477 void SetHierarchyArrayStatus(int index, int flag);
478 void SetHierarchyArrayStatus(const char*, int flag);
480 int GetHierarchyArrayStatus(const char*);
482
483 vtkGetMacro(DisplayType,int);
484 virtual void SetDisplayType(int type);
485
489 int IsValidVariable( const char *type, const char *name );
490
494 int GetVariableID ( const char *type, const char *name );
495
496 void SetAllArrayStatus( int otype, int status );
497 // Helper functions
498 //static int StringsEqual(const char* s1, char* s2);
499 //static void StringUppercase(const char* str, char* upperstr);
500 //static char *StrDupWithNew(const char *s);
501
502 // time series query functions
503 int GetTimeSeriesData( int ID, const char *vName, const char *vType,
504 vtkFloatArray *result );
505
506
507
509 { return this->GetNumberOfObjects(EDGE_BLOCK); }
511 { return this->GetObjectName(EDGE_BLOCK, index); }
513 { return this->GetObjectStatus(EDGE_BLOCK, name); }
514 void SetEdgeBlockArrayStatus(const char* name, int flag)
515 { this->SetObjectStatus(EDGE_BLOCK, name, flag); }
516
518 { return this->GetNumberOfObjects(FACE_BLOCK); }
520 { return this->GetObjectName(FACE_BLOCK, index); }
522 { return this->GetObjectStatus(FACE_BLOCK, name); }
523 void SetFaceBlockArrayStatus(const char* name, int flag)
524 { this->SetObjectStatus(FACE_BLOCK, name, flag); }
525
527 { return this->GetNumberOfObjects(ELEM_BLOCK); }
529 { return this->GetObjectName(ELEM_BLOCK, index); }
531 { return this->GetObjectStatus(ELEM_BLOCK, name); }
532 void SetElementBlockArrayStatus(const char* name, int flag)
533 { this->SetObjectStatus(ELEM_BLOCK, name, flag); }
534
536 { return this->GetNumberOfObjectArrays(GLOBAL); }
538 { return this->GetObjectArrayName(GLOBAL, index); }
540 { return this->GetObjectArrayStatus(GLOBAL, name); }
541 void SetGlobalResultArrayStatus(const char* name, int flag)
542 { this->SetObjectArrayStatus(GLOBAL, name, flag); }
543
545 { return this->GetNumberOfObjectArrays(NODAL); }
547 { return this->GetObjectArrayName(NODAL, index); }
549 { return this->GetObjectArrayStatus(NODAL, name); }
550 void SetPointResultArrayStatus(const char* name, int flag)
551 { this->SetObjectArrayStatus(NODAL, name, flag); }
552
554 { return this->GetNumberOfObjectArrays(EDGE_BLOCK); }
556 { return this->GetObjectArrayName(EDGE_BLOCK, index); }
558 { return this->GetObjectArrayStatus(EDGE_BLOCK, name); }
559 void SetEdgeResultArrayStatus(const char* name, int flag)
560 { this->SetObjectArrayStatus(EDGE_BLOCK, name, flag); }
561
563 { return this->GetNumberOfObjectArrays(FACE_BLOCK); }
565 { return this->GetObjectArrayName(FACE_BLOCK, index); }
567 { return this->GetObjectArrayStatus(FACE_BLOCK, name); }
568 void SetFaceResultArrayStatus(const char* name, int flag)
569 { this->SetObjectArrayStatus(FACE_BLOCK, name, flag); }
570
572 { return this->GetNumberOfObjectArrays(ELEM_BLOCK); }
574 { return this->GetObjectArrayName(ELEM_BLOCK, index); }
576 { return this->GetObjectArrayStatus(ELEM_BLOCK, name); }
577 void SetElementResultArrayStatus(const char* name, int flag)
578 { this->SetObjectArrayStatus(ELEM_BLOCK, name, flag); }
579
580
582 { return this->GetNumberOfObjects(NODE_MAP); }
583 const char* GetNodeMapArrayName(int index)
584 { return this->GetObjectName(NODE_MAP, index); }
586 { return this->GetObjectStatus(NODE_MAP, name); }
587 void SetNodeMapArrayStatus(const char* name, int flag)
588 { this->SetObjectStatus(NODE_MAP, name, flag); }
589
591 { return this->GetNumberOfObjects(EDGE_MAP); }
592 const char* GetEdgeMapArrayName(int index)
593 { return this->GetObjectName(EDGE_MAP, index); }
595 { return this->GetObjectStatus(EDGE_MAP, name); }
596 void SetEdgeMapArrayStatus(const char* name, int flag)
597 { this->SetObjectStatus(EDGE_MAP, name, flag); }
598
600 { return this->GetNumberOfObjects(FACE_MAP); }
601 const char* GetFaceMapArrayName(int index)
602 { return this->GetObjectName(FACE_MAP, index); }
604 { return this->GetObjectStatus(FACE_MAP, name); }
605 void SetFaceMapArrayStatus(const char* name, int flag)
606 { this->SetObjectStatus(FACE_MAP, name, flag); }
607
609 { return this->GetNumberOfObjects(ELEM_MAP); }
611 { return this->GetObjectName(ELEM_MAP, index); }
613 { return this->GetObjectStatus(ELEM_MAP, name); }
614 void SetElementMapArrayStatus(const char* name, int flag)
615 { this->SetObjectStatus(ELEM_MAP, name, flag); }
616
618 { return this->GetNumberOfObjects(NODE_SET); }
619 const char* GetNodeSetArrayName(int index)
620 { return this->GetObjectName(NODE_SET, index); }
622 { return this->GetObjectStatus(NODE_SET, name); }
623 void SetNodeSetArrayStatus(const char* name, int flag)
624 { this->SetObjectStatus(NODE_SET, name, flag); }
625
627 { return this->GetNumberOfObjects(SIDE_SET); }
628 const char* GetSideSetArrayName(int index)
629 { return this->GetObjectName(SIDE_SET, index); }
631 { return this->GetObjectStatus(SIDE_SET, name); }
632 void SetSideSetArrayStatus(const char* name, int flag)
633 { this->SetObjectStatus(SIDE_SET, name, flag); }
634
636 { return this->GetNumberOfObjects(EDGE_SET); }
637 const char* GetEdgeSetArrayName(int index)
638 { return this->GetObjectName(EDGE_SET, index); }
640 { return this->GetObjectStatus(EDGE_SET, name); }
641 void SetEdgeSetArrayStatus(const char* name, int flag)
642 { this->SetObjectStatus(EDGE_SET, name, flag); }
643
645 { return this->GetNumberOfObjects(FACE_SET); }
646 const char* GetFaceSetArrayName(int index)
647 { return this->GetObjectName(FACE_SET, index); }
649 { return this->GetObjectStatus(FACE_SET, name); }
650 void SetFaceSetArrayStatus(const char* name, int flag)
651 { this->SetObjectStatus(FACE_SET, name, flag); }
652
654 { return this->GetNumberOfObjects(ELEM_SET); }
656 { return this->GetObjectName(ELEM_SET, index); }
658 { return this->GetObjectStatus(ELEM_SET, name); }
659 void SetElementSetArrayStatus(const char* name, int flag)
660 { this->SetObjectStatus(ELEM_SET, name, flag); }
661
662
664 { return this->GetNumberOfObjectArrays(NODE_SET); }
666 { return this->GetObjectArrayName(NODE_SET, index); }
668 { return this->GetObjectArrayStatus(NODE_SET, name); }
669 void SetNodeSetResultArrayStatus(const char* name, int flag)
670 { this->SetObjectArrayStatus(NODE_SET, name, flag); }
671
673 { return this->GetNumberOfObjectArrays(SIDE_SET); }
675 { return this->GetObjectArrayName(SIDE_SET, index); }
677 { return this->GetObjectArrayStatus(SIDE_SET, name); }
678 void SetSideSetResultArrayStatus(const char* name, int flag)
679 { this->SetObjectArrayStatus(SIDE_SET, name, flag); }
680
682 { return this->GetNumberOfObjectArrays(EDGE_SET); }
684 { return this->GetObjectArrayName(EDGE_SET, index); }
686 { return this->GetObjectArrayStatus(EDGE_SET, name); }
687 void SetEdgeSetResultArrayStatus(const char* name, int flag)
688 { this->SetObjectArrayStatus(EDGE_SET, name, flag); }
689
691 { return this->GetNumberOfObjectArrays(FACE_SET); }
693 { return this->GetObjectArrayName(FACE_SET, index); }
695 { return this->GetObjectArrayStatus(FACE_SET, name); }
696 void SetFaceSetResultArrayStatus(const char* name, int flag)
697 { this->SetObjectArrayStatus(FACE_SET, name, flag); }
698
700 { return this->GetNumberOfObjectArrays(ELEM_SET); }
702 { return this->GetObjectArrayName(ELEM_SET, index); }
704 { return this->GetObjectArrayStatus(ELEM_SET, name); }
705 void SetElementSetResultArrayStatus(const char* name, int flag)
706 { this->SetObjectArrayStatus(ELEM_SET, name, flag); }
707
716 void Reset();
717
727
732
736 void SetCacheSize(double CacheSize);
737
741 double GetCacheSize();
742
744
756 void SetSqueezePoints(bool sp);
759
760 virtual void Dump();
761
767
769
772 vtkGetMacro(SILUpdateStamp, int);
774
775protected:
778
779 // helper for finding IDs
780 static int GetIDHelper ( const char *arrayName, vtkDataSet *data, int localID, int searchType );
781 static int GetGlobalID( const char *arrayName, vtkDataSet *data, int localID, int searchType );
782
784 vtkGetObjectMacro(Metadata,vtkExodusIIReaderPrivate);
785
796
797 // Time query function. Called by ExecuteInformation().
798 // Fills the TimestepValues array.
800
805
809 //int RequestDataOverTime( vtkInformation *, vtkInformationVector **, vtkInformationVector *);
810
811 // Parameters for controlling what is read in.
812 char* FileName;
815 int TimeStepRange[2];
818
819 // Information specific for exodus files.
820
821 //1=display Block names
822 //2=display Part names
823 //3=display Material names
825
826 // Metadata containing a description of the currently open file.
828
830
831 friend class vtkPExodusIIReader;
832private:
833 vtkExodusIIReader(const vtkExodusIIReader&) VTK_DELETE_FUNCTION;
834 void operator=(const vtkExodusIIReader&) VTK_DELETE_FUNCTION;
835
836 void AddDisplacements(vtkUnstructuredGrid* output);
837 int ModeShapesRange[2];
838};
839
840#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
This class holds metadata for an Exodus file.
Read exodus 2 files .ex2.
static const char * GetSideSetSourceElementIdArrayName()
Get the name of the array that stores the mapping from side set cells back to the global id of the el...
int GetNumberOfElementsInFile()
int IsValidVariable(const char *type, const char *name)
return boolean indicating whether the type,name is a valid variable
const char * GetObjectTypeName(int)
const char * GetNodeSetArrayName(int index)
int GetEdgeBlockArrayStatus(const char *name)
int GetFaceResultArrayStatus(const char *name)
virtual void SetFileId(int f)
void SetEdgeBlockArrayStatus(const char *name, int flag)
int GetNumberOfFacesInFile()
static int GetGlobalNodeID(vtkDataSet *data, int localID, int searchType)
int GetAnimateModeShapes()
static int GetGlobalFaceID(vtkDataSet *data, int localID)
int GetObjectArrayStatus(int objectType, int arrayIndex)
static const char * GetImplicitNodeIdArrayName()
int GetObjectIndex(int objectType, const char *objectName)
void SetElementResultArrayStatus(const char *name, int flag)
virtual void SetHasModeShapes(int ms)
Set/Get whether the Exodus sequence number corresponds to time steps or mode shapes.
int GetNumberOfObjectArrays(int objectType)
By default arrays are not loaded.
int GetEdgeSetResultArrayStatus(const char *name)
static const char * GetImplicitFaceIdArrayName()
void SetElementMapArrayStatus(const char *name, int flag)
void SetElementSetArrayStatus(const char *name, int flag)
const char * GetFaceResultArrayName(int index)
void SetSideSetResultArrayStatus(const char *name, int flag)
virtual void SetFileName(const char *fname)
Specify file name of the Exodus file.
int GetMaterialArrayStatus(const char *)
virtual void SetGenerateImplicitNodeIdArray(int g)
int GetNodeMapArrayStatus(const char *name)
int GetNumberOfHierarchyArrays()
By default all hierarchy entries are loaded.
static int GetGlobalEdgeID(vtkDataSet *data, int localID, int searchType)
int GetElementMapArrayStatus(const char *name)
void SetEdgeResultArrayStatus(const char *name, int flag)
static const char * GetGlobalEdgeIdArrayName()
int GetNumberOfPartArrays()
By default all parts are loaded.
int GetHierarchyArrayStatus(const char *)
int GetNumberOfTimeSteps()
int GetGenerateGlobalElementIdArray()
int GetNumberOfNodesInFile()
virtual void Dump()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetGenerateObjectIdCellArray(int g)
Extra cell data array that can be generated.
const char * GetEdgeBlockArrayName(int index)
void SetFaceBlockArrayStatus(const char *name, int flag)
int GetPointResultArrayStatus(const char *name)
int GetPartArrayStatus(int index)
const char * GetFaceMapArrayName(int index)
void SetPartArrayStatus(int index, int flag)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static const char * GetPedigreeFaceIdArrayName()
static int GetGlobalID(const char *arrayName, vtkDataSet *data, int localID, int searchType)
const char * GetSideSetArrayName(int index)
int GetPartArrayID(const char *name)
const char * GetObjectAttributeName(int objectType, int objectIndex, int attribIndex)
int GetEdgeMapArrayStatus(const char *name)
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
see vtkAlgorithm for details
void SetPartArrayStatus(const char *, int flag)
vtkExodusIIReaderPrivate * Metadata
int GetMaterialArrayStatus(int index)
int GetNumberOfEdgeSetResultArrays()
int GetElementResultArrayStatus(const char *name)
int GetNumberOfAssemblyArrays()
By default all assemblies are loaded.
void SetAssemblyArrayStatus(const char *, int flag)
int GetNumberOfSideSetResultArrays()
int GetNumberOfNodeSetResultArrays()
virtual void SetAnimateModeShapes(int flag)
If this flag is on (the default) and HasModeShapes is also on, then this reader will report a continu...
int GetEdgeSetArrayStatus(const char *name)
void SetNodeSetResultArrayStatus(const char *name, int flag)
void SetMaterialArrayStatus(int index, int flag)
const char * GetFaceSetArrayName(int index)
const char * GetGlobalResultArrayName(int index)
int GetNodeSetResultArrayStatus(const char *name)
void SetAllArrayStatus(int otype, int status)
int GetHierarchyArrayStatus(int index)
int GetNumberOfMaterialArrays()
By default all materials are loaded.
const char * GetEdgeMapArrayName(int index)
void ResetCache()
Clears out the cache entries.
virtual void SetMetadata(vtkExodusIIReaderPrivate *)
virtual void SetGenerateFileIdArray(int f)
void SetMaterialArrayStatus(const char *, int flag)
static const char * GetGlobalFaceIdArrayName()
void Reset()
Reset the user-specified parameters and flush internal arrays so that the reader state is just as it ...
virtual void SetGenerateImplicitElementIdArray(int g)
int GetGenerateImplicitElementIdArray()
double GetCacheSize()
Get the size of the cache in MiB.
virtual void SetDisplayType(int type)
int GetNumberOfEntriesInObject(int objectType, int objectIndex)
int GetObjectStatus(int objectType, int objectIndex)
void SetSideSetArrayStatus(const char *name, int flag)
void SetNodeMapArrayStatus(const char *name, int flag)
static int GetIDHelper(const char *arrayName, vtkDataSet *data, int localID, int searchType)
void SetEdgeMapArrayStatus(const char *name, int flag)
void SetObjectAttributeStatus(int objectType, int objectIndex, int attribIndex, int status)
vtkTimeStamp FileNameMTime
int GetAssemblyArrayStatus(const char *)
const char * GetFaceSetResultArrayName(int index)
void SetModeShape(int val)
Convenience method to set the mode-shape which is same as this->SetTimeStep(val-1);.
static const char * GetPedigreeEdgeIdArrayName()
int GetAssemblyArrayID(const char *name)
int GetGenerateFileIdArray()
static int GetGlobalEdgeID(vtkDataSet *data, int localID)
void SetObjectArrayStatus(int objectType, int arrayIndex, int status)
void SetFaceMapArrayStatus(const char *name, int flag)
int GetSideSetArrayStatus(const char *name)
void ResetSettings()
Reset the user-specified parameters to their default values.
int GetMaterialArrayID(const char *name)
const char * GetHierarchyArrayName(int arrayIdx)
int GetApplyDisplacements()
void SetFaceResultArrayStatus(const char *name, int flag)
int GetObjectIndex(int objectType, int id)
int GetObjectAttributeStatus(int objectType, int objectIndex, const char *attribName)
static int GetGlobalFaceID(vtkDataSet *data, int localID, int searchType)
void SetObjectStatus(int objectType, int objectIndex, int status)
const char * GetElementMapArrayName(int index)
void SetElementSetResultArrayStatus(const char *name, int flag)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int GetGenerateGlobalNodeIdArray()
void SetAssemblyArrayStatus(int index, int flag)
int GetObjectArrayIndex(int objectType, const char *arrayName)
static const char * GetPedigreeElementIdArrayName()
int GetNumberOfObjectAttributes(int objectType, int objectIndex)
By default attributes are not loaded.
void GetAllTimes(vtkInformationVector *)
int GetFaceSetArrayStatus(const char *name)
void SetHierarchyArrayStatus(int index, int flag)
static const char * GetPedigreeNodeIdArrayName()
static const char * GetImplicitElementIdArrayName()
double GetModeShapeTime()
vtkTimeStamp XMLFileNameMTime
int GetEdgeResultArrayStatus(const char *name)
float GetDisplacementMagnitude()
int GetTimeSeriesData(int ID, const char *vName, const char *vType, vtkFloatArray *result)
void SetObjectStatus(int objectType, const char *objectName, int status)
void SetObjectAttributeStatus(int objectType, int objectIndex, const char *attribName, int status)
static int GetGlobalNodeID(vtkDataSet *data, int localID)
int GetFaceMapArrayStatus(const char *name)
int GetFaceBlockArrayStatus(const char *name)
const char * GetSideSetResultArrayName(int index)
virtual vtkIdType GetTotalNumberOfEdges()
virtual vtkMTimeType GetMetadataMTime()
Return the MTime of the internal data structure.
bool FindXMLFile()
Returns true if XMLFileName has already been set.
void AdvertiseTimeSteps(vtkInformation *outputInfo)
Populates the TIME_STEPS and TIME_RANGE keys based on file metadata.
const char * GetNodeMapArrayName(int index)
const char * GetMaterialArrayName(int arrayIdx)
void SetEdgeSetArrayStatus(const char *name, int flag)
virtual vtkIdType GetTotalNumberOfFaces()
vtkGraph * GetSIL()
SIL describes organization of/relationships between classifications eg.
int GetObjectId(int objectType, int objectIndex)
int GetNumberOfElementSetResultArrays()
const char * GetTitle()
Access to meta data generated by UpdateInformation.
int GetNumberOfEdgesInFile()
void SetElementBlockArrayStatus(const char *name, int flag)
static const char * GetGlobalElementIdArrayName()
virtual vtkMTimeType GetMTime()
Return the object's MTime.
virtual void SetModeShapeTime(double phase)
Set/Get the time used to animate mode shapes.
virtual void SetGenerateGlobalElementIdArray(int g)
const char * GetPartBlockInfo(int arrayIdx)
void SetFaceSetArrayStatus(const char *name, int flag)
void SetGlobalResultArrayStatus(const char *name, int flag)
const char * GetPartArrayName(int arrayIdx)
static const char * GetSideSetSourceElementSideArrayName()
Get the name of the array that stores the mapping from side set cells back to the canonical side of t...
virtual vtkIdType GetTotalNumberOfElements()
const char * GetNodeSetResultArrayName(int index)
virtual void SetXMLFileName(const char *fname)
Specify file name of the xml file.
void SetHierarchyArrayStatus(const char *, int flag)
static const char * GetGlobalNodeIdArrayName()
Extra point data array that can be generated.
int GetNumberOfObjects(int objectType)
int GetGenerateObjectIdCellArray()
int GetAssemblyArrayStatus(int index)
int GetObjectTypeFromName(const char *name)
int GetElementBlockArrayStatus(const char *name)
const char * GetEdgeResultArrayName(int index)
int GetElementSetResultArrayStatus(const char *name)
int GetObjectAttributeIndex(int objectType, int objectIndex, const char *attribName)
const char * GetElementResultArrayName(int index)
virtual void SetDisplacementMagnitude(float s)
int GetObjectAttributeStatus(int objectType, int objectIndex, int attribIndex)
int GetGlobalResultArrayStatus(const char *name)
virtual vtkIdType GetTotalNumberOfNodes()
const char * GetEdgeSetArrayName(int index)
void SetPointResultArrayStatus(const char *name, int flag)
const char * GetFaceBlockArrayName(int index)
static const char * GetImplicitEdgeIdArrayName()
int GetVariableID(const char *type, const char *name)
Return the id of the type,name variable.
void SetNodeSetArrayStatus(const char *name, int flag)
int CanReadFile(const char *fname)
Determine if the file can be readed with this reader.
int GetSideSetResultArrayStatus(const char *name)
void SetSqueezePoints(bool sp)
Should the reader output only points used by elements in the output mesh, or all the points.
void SetFaceSetResultArrayStatus(const char *name, int flag)
int GetNumberOfFaceSetResultArrays()
const char * GetObjectName(int objectType, int objectIndex)
void SetCacheSize(double CacheSize)
Set the size of the cache in MiB.
static int GetGlobalElementID(vtkDataSet *data, int localID, int searchType)
int GetElementSetArrayStatus(const char *name)
const char * GetObjectArrayName(int objectType, int arrayIndex)
int GetNumberOfObjectArrayComponents(int objectType, int arrayIndex)
static const char * GetObjectIdArrayName()
int GetObjectStatus(int objectType, const char *objectName)
const char * GetPointResultArrayName(int index)
virtual void SetGenerateGlobalNodeIdArray(int g)
int GetNumberOfElementResultArrays()
virtual void SetApplyDisplacements(int d)
Geometric locations can include displacements.
int GetObjectArrayStatus(int objectType, const char *arrayName)
void SetEdgeSetResultArrayStatus(const char *name, int flag)
static int GetGlobalElementID(vtkDataSet *data, int localID)
int GetGenerateImplicitNodeIdArray()
static vtkExodusIIReader * New()
int GetNodeSetArrayStatus(const char *name)
const char * GetElementSetResultArrayName(int index)
const char * GetEdgeSetResultArrayName(int index)
int GetFaceSetResultArrayStatus(const char *name)
const char * GetAssemblyArrayName(int arrayIdx)
const char * GetElementSetArrayName(int index)
int GetPartArrayStatus(const char *)
void SetObjectArrayStatus(int objectType, const char *arrayName, int status)
const char * GetElementBlockArrayName(int index)
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:42
Base class for graph data types.
Definition: vtkGraph.h:288
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Read Exodus II files (.exii)
represent and manipulate 3D points
Definition: vtkPoints.h:40
record modification and/or execution time
Definition: vtkTimeStamp.h:36
dataset represents arbitrary combinations of all possible cell types
@ type
Definition: vtkX3D.h:516
@ name
Definition: vtkX3D.h:219
@ index
Definition: vtkX3D.h:246
@ data
Definition: vtkX3D.h:315
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
int vtkIdType
Definition: vtkType.h:287
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248