VTK
|
This class holds metadata for an Exodus file. More...
#include <vtkExodusIIReaderPrivate.h>
Classes | |
struct | ArrayInfoType |
A struct to hold information about time-varying arrays. More... | |
struct | AssemblyInfoType |
struct | BlockInfoType |
A struct to hold information about Exodus blocks. More... | |
struct | BlockSetInfoType |
A struct to hold information about Exodus blocks or sets (they have some members in common) More... | |
struct | MapInfoType |
A struct to hold information about Exodus maps. More... | |
struct | MaterialInfoType |
struct | ObjectInfoType |
A struct to hold information about Exodus objects (blocks, sets, maps) More... | |
struct | PartInfoType |
A struct to hold information about Exodus blocks. More... | |
struct | SetInfoType |
A struct to hold information about Exodus sets. More... | |
Public Types | |
enum | GlomTypes { Scalar =0, Vector2 =1, Vector3 =2, SymmetricTensor =3, IntegrationPoint =4 } |
Tags to indicate how single-component Exodus arrays are glommed (aggregated) into multi-component VTK arrays. More... | |
enum | ArraySourceTypes { Result =0, Attribute =1, Map =2, Generated =3 } |
Tags to indicate the source of values for an array. More... | |
typedef vtkObject | Superclass |
Public Member Functions | |
void | PrintData (ostream &os, vtkIndent indent) |
virtual int | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
vtkExodusIIReaderPrivate * | NewInstance () const |
int | OpenFile (const char *filename) |
Open an ExodusII file for reading. Returns 0 on success. More... | |
int | CloseFile () |
Close any ExodusII file currently open for reading. Returns 0 on success. More... | |
int | RequestInformation () |
Get metadata for an open file with handle exoid. More... | |
vtkMutableDirectedGraph * | GetSIL () |
Returns the SIL. This valid only after BuildSIL() has been called. More... | |
int | RequestData (vtkIdType timeStep, vtkMultiBlockDataSet *output) |
Read requested data and store in unstructured grid. More... | |
int | SetUpEmptyGrid (vtkMultiBlockDataSet *output) |
Description: Prepare a data set with the proper structure and arrays but no cells. More... | |
void | Reset () |
Reset the class so that another file may be read. More... | |
void | ResetSettings () |
Return user-specified variables to their default values. More... | |
void | ResetCache () |
Clears out any data in the cache and restores it to its initial state. More... | |
void | SetCacheSize (double size) |
Set the size of the cache in MiB. More... | |
virtual double | GetCacheSize () |
Get the size of the cache in MiB. More... | |
int | GetNumberOfTimeSteps () |
Return the number of time steps in the open file. More... | |
virtual int | GetSqueezePoints () |
Return whether subsequent RequestData() calls will produce the minimal point set required to represent the output. More... | |
void | SetSqueezePoints (int sp) |
Set whether subsequent RequestData() calls will produce the minimal point set required to represent the output. More... | |
virtual void | SqueezePointsOn () |
Convenience routines that for producing (or not) the minimal point set required to represent the output. More... | |
virtual void | SqueezePointsOff () |
int | GetNumberOfNodes () |
Return the number of nodes in the output (depends on SqueezePoints) More... | |
int | GetNumberOfObjectsOfType (int otype) |
Returns the number of objects of a given type (e.g., EX_ELEM_BLOCK, EX_NODE_SET, ...). More... | |
int | GetNumberOfObjectArraysOfType (int otype) |
Returns the number of arrays defined over objects of a given type (e.g., EX_ELEM_BLOCK, EX_NODE_SET, ...). More... | |
const char * | GetObjectName (int otype, int i) |
For a given object type, returns the name of the i-th object. More... | |
int | GetObjectId (int otype, int i) |
For a given object type, return the user-assigned ID of the i-th object. More... | |
int | GetObjectSize (int otype, int i) |
For a given object type, return the size of the i-th object. More... | |
int | GetObjectStatus (int otype, int i) |
For a given object type, returns the status of the i-th object. More... | |
int | GetUnsortedObjectStatus (int otype, int i) |
For a given object type, returns the status of the i-th object, where i is an index into the unsorted object array. More... | |
void | SetObjectStatus (int otype, int i, int stat) |
For a given object type, sets the status of the i-th object. More... | |
void | SetUnsortedObjectStatus (int otype, int i, int stat) |
For a given object type, sets the status of the i-th object, where i is an index into the unsorted object array. More... | |
const char * | GetObjectArrayName (int otype, int i) |
For a given object type, returns the name of the i-th array. More... | |
int | GetNumberOfObjectArrayComponents (int otype, int i) |
For a given object type, returns the number of components of the i-th array. More... | |
int | GetObjectArrayStatus (int otype, int i) |
For a given object type, returns the status of the i-th array. More... | |
void | SetObjectArrayStatus (int otype, int i, int stat) |
For a given object type, sets the status of the i-th array. More... | |
int | GetNumberOfObjectAttributes (int objectType, int objectIndex) |
Unlike object arrays, attributes are only defined over blocks (not sets) and are defined on a per-block (not a per-block-type) basis. More... | |
const char * | GetObjectAttributeName (int objectType, int objectIndex, int attributeIndex) |
int | GetObjectAttributeIndex (int objectType, int objectIndex, const char *attribName) |
int | GetObjectAttributeStatus (int objectType, int objectIndex, int attribIndex) |
void | SetObjectAttributeStatus (int objectType, int objectIndex, int attribIndex, int status) |
virtual int | GetGenerateObjectIdArray () |
Generate an array containing the block or set ID associated with each cell. More... | |
virtual void | SetGenerateObjectIdArray (int) |
virtual void | SetGenerateGlobalElementIdArray (int) |
virtual int | GetGenerateGlobalElementIdArray () |
virtual void | SetGenerateGlobalNodeIdArray (int) |
virtual int | GetGenerateGlobalNodeIdArray () |
virtual void | SetGenerateImplicitElementIdArray (int) |
virtual int | GetGenerateImplicitElementIdArray () |
virtual void | SetGenerateImplicitNodeIdArray (int) |
virtual int | GetGenerateImplicitNodeIdArray () |
virtual void | SetGenerateFileIdArray (int) |
Should we generate an array defined over all cells (whether they are members of blocks or sets) indicating the source file? More... | |
virtual int | GetGenerateFileIdArray () |
virtual void | SetFileId (int) |
Set/get the number that identifies this file in a series of files (defaults to 0). More... | |
virtual int | GetFileId () |
virtual void | SetApplyDisplacements (int d) |
virtual int | GetApplyDisplacements () |
virtual void | SetDisplacementMagnitude (double s) |
virtual double | GetDisplacementMagnitude () |
virtual void | SetHasModeShapes (int) |
virtual int | GetHasModeShapes () |
virtual void | SetModeShapeTime (double) |
virtual double | GetModeShapeTime () |
virtual void | SetAnimateModeShapes (int) |
virtual int | GetAnimateModeShapes () |
vtkDataArray * | FindDisplacementVectors (int timeStep) |
const struct ex_init_params * | GetModelParams () const |
virtual void | SetParser (vtkExodusIIReaderParser *) |
virtual vtkExodusIIReaderParser * | GetParser () |
void | SetTimesOverrides (const std::vector< double > ×) |
int | GetNumberOfParts () |
const char * | GetPartName (int idx) |
const char * | GetPartBlockInfo (int idx) |
int | GetPartStatus (int idx) |
int | GetPartStatus (vtkStdString name) |
void | SetPartStatus (int idx, int on) |
void | SetPartStatus (vtkStdString name, int flag) |
int | GetNumberOfMaterials () |
const char * | GetMaterialName (int idx) |
int | GetMaterialStatus (int idx) |
int | GetMaterialStatus (vtkStdString name) |
void | SetMaterialStatus (int idx, int on) |
void | SetMaterialStatus (vtkStdString name, int flag) |
int | GetNumberOfAssemblies () |
const char * | GetAssemblyName (int idx) |
int | GetAssemblyStatus (int idx) |
int | GetAssemblyStatus (vtkStdString name) |
void | SetAssemblyStatus (int idx, int on) |
void | SetAssemblyStatus (vtkStdString name, int flag) |
void | SetFastPathObjectType (vtkExodusIIReader::ObjectType type) |
void | SetFastPathObjectId (vtkIdType id) |
virtual void | SetFastPathIdType (const char *) |
bool | IsXMLMetadataValid () |
void | GetInitialObjectStatus (int otype, ObjectInfoType *info) |
For a given object type, looks for an object in the collection of initial objects of the same name, or if the name is empty, then of the same id as "info". More... | |
void | GetInitialObjectArrayStatus (int otype, ArrayInfoType *info) |
For a given array type, looks for an object in the collection of initial objects of the same name, or if the name is empty, then of the same id as "info". More... | |
void | SetInitialObjectStatus (int otype, const char *name, int stat) |
For a given object type, creates and stores an ObjectInfoType object using the given name and status. More... | |
void | SetInitialObjectArrayStatus (int otype, const char *name, int stat) |
For a given array type, creates and stores an ArrayInfoType object using the given name and status. More... | |
int | UpdateTimeInformation () |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
Turn debugging output on. More... | |
virtual void | DebugOff () |
Turn debugging output off. More... | |
bool | GetDebug () |
Get the value of the debug flag. More... | |
void | SetDebug (bool debugFlag) |
Set the value of the debug flag. More... | |
virtual void | Modified () |
Update the modification time for this object. More... | |
virtual vtkMTimeType | GetMTime () |
Return this object's modified time. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkCommand * | GetCommand (unsigned long tag) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObserver (vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObservers (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObservers (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
int | HasObserver (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
int | HasObserver (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Allow user to set the AbortFlagOn() with the return value of the callback method. More... | |
int | InvokeEvent (unsigned long event, void *callData) |
This method invokes an event and return whether the event was aborted or not. More... | |
int | InvokeEvent (const char *event, void *callData) |
This method invokes an event and return whether the event was aborted or not. More... | |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
Return the class name as a string. More... | |
virtual void | Delete () |
Delete a VTK object. More... | |
virtual void | FastDelete () |
Delete a reference to this object. More... | |
void | InitializeObjectBase () |
void | Print (ostream &os) |
Print an object to an ostream. More... | |
virtual void | Register (vtkObjectBase *o) |
Increase the reference count (mark as used by another object). More... | |
virtual void | UnRegister (vtkObjectBase *o) |
Decrease the reference count (release by another object). More... | |
int | GetReferenceCount () |
Return the current reference count of this object. More... | |
void | SetReferenceCount (int) |
Sets the reference count. More... | |
void | PrintRevisions (ostream &) |
Legacy. More... | |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. More... | |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. More... | |
Static Public Member Functions | |
static vtkExodusIIReaderPrivate * | New () |
static int | IsTypeOf (const char *type) |
static vtkExodusIIReaderPrivate * | SafeDownCast (vtkObjectBase *o) |
static const char * | GetObjectIdArrayName () |
static const char * | GetGlobalElementIdArrayName () |
static const char * | GetGlobalNodeIdArrayName () |
static const char * | GetImplicitElementIdArrayName () |
static const char * | GetImplicitNodeIdArrayName () |
static const char * | GetFileIdArrayName () |
static const char * | GetGlobalVariableValuesArrayName () |
static const char * | GetGlobalVariableNamesArrayName () |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. More... | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. More... | |
static vtkObjectBase * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
Public Attributes | |
vtkTimeStamp | InformationTimeStamp |
Time stamp from last time we were in RequestInformation. More... | |
bool | ProducedFastPathOutput |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkExodusIIReaderPrivate () | |
~vtkExodusIIReaderPrivate () | |
void | BuildSIL () |
Build SIL. This must be called only after RequestInformation(). More... | |
int | VerifyIntegrationPointGlom (int nn, char **np, vtksys::RegularExpression &re, vtkStdString &field, vtkStdString &ele) |
Returns true when order and text of names are consistent with integration points. More... | |
void | GlomArrayNames (int i, int num_obj, int num_vars, char **var_names, int *truth_tab) |
Aggregate Exodus array names into VTK arrays with multiple components. More... | |
void | PrepareGeneratedArrayInfo () |
Add generated array information to array info lists. More... | |
int | AssembleOutputConnectivity (vtkIdType timeStep, int otyp, int oidx, int conntypidx, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Read connectivity information and populate an unstructured grid with cells corresponding to a single block or set. More... | |
int | AssembleOutputPoints (vtkIdType timeStep, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Fill the output grid's point coordinates array. More... | |
int | AssembleOutputPointArrays (vtkIdType timeStep, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Add the requested arrays to the output grid's point data. More... | |
int | AssembleOutputCellArrays (vtkIdType timeStep, int otyp, int oidx, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Add the requested arrays to the output grid's cell data. More... | |
int | AssembleOutputProceduralArrays (vtkIdType timeStep, int otyp, int oidx, vtkUnstructuredGrid *output) |
Add procedurally generated arrays to an output mesh. More... | |
int | AssembleOutputGlobalArrays (vtkIdType timeStep, int otyp, int oidx, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Add mesh-global field data such as QA records to the output mesh. More... | |
int | AssembleOutputPointMaps (vtkIdType timeStep, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Add maps to an output mesh. More... | |
int | AssembleOutputCellMaps (vtkIdType timeStep, int otyp, int oidx, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
int | AssembleArraysOverTime (vtkMultiBlockDataSet *output) |
Add fast-path time-varying data to field data of an output block or set. More... | |
void | InsertBlockPolyhedra (BlockInfoType *binfo, vtkIntArray *facesPerCell, vtkIntArray *pointsPerFace, vtkIntArray *exoCellConn, vtkIntArray *exoFaceConn) |
Insert polyhedral cells (called from InsertBlockCells when a block is polyhedra) More... | |
void | InsertBlockCells (int otyp, int obj, int conn_type, int timeStep, BlockInfoType *binfop) |
Insert cells from a specified block into a mesh. More... | |
void | InsertSetCells (int otyp, int obj, int conn_type, int timeStep, SetInfoType *sinfop) |
Insert cells from a specified set into a mesh. More... | |
void | AddPointArray (vtkDataArray *src, BlockSetInfoType *bsinfop, vtkUnstructuredGrid *output) |
Add a point array to an output grid's point data, squeezing if necessary. More... | |
void | InsertSetNodeCopies (vtkIntArray *refs, int otyp, int obj, SetInfoType *sinfo) |
Insert cells referenced by a node set. More... | |
void | InsertSetCellCopies (vtkIntArray *refs, int otyp, int obj, SetInfoType *sinfo) |
Insert cells referenced by an edge, face, or element set. More... | |
void | InsertSetSides (vtkIntArray *refs, int otyp, int obj, SetInfoType *sinfo) |
Insert cells referenced by a side set. More... | |
vtkDataArray * | GetCacheOrRead (vtkExodusIICacheKey) |
Return an array for the specified cache key. More... | |
int | GetConnTypeIndexFromConnType (int ctyp) |
Return the index of an object type (in a private list of all object types). More... | |
int | GetObjectTypeIndexFromObjectType (int otyp) |
Return the index of an object type (in a private list of all object types). More... | |
int | GetNumberOfObjectsAtTypeIndex (int typeIndex) |
Return the number of objects of the given type. More... | |
ObjectInfoType * | GetObjectInfo (int typeIndex, int objectIndex) |
Return a pointer to the ObjectInfo of the specified type and index. More... | |
ObjectInfoType * | GetSortedObjectInfo (int objectType, int objectIndex) |
Return a pointer to the ObjectInfo of the specified type and index, but using indices sorted by object ID. More... | |
ObjectInfoType * | GetUnsortedObjectInfo (int objectType, int objectIndex) |
Return a pointer to the ObjectInfo of the specified type and index, but using indices sorted by object ID. More... | |
int | GetBlockIndexFromFileGlobalId (int otyp, int refId) |
Get the index of the block containing the entity referenced by the specified file-global ID. More... | |
BlockInfoType * | GetBlockFromFileGlobalId (int otyp, int refId) |
Get the block containing the entity referenced by the specified file-global ID. More... | |
vtkIdType | GetSqueezePointId (BlockSetInfoType *bsinfop, int i) |
Find or create a new SqueezePoint ID (unique sequential list of points referenced by cells in blocks/sets with Status == 1) More... | |
void | DetermineVtkCellType (BlockInfoType &binfo) |
Determine the VTK cell type for a given edge/face/element block. More... | |
ArrayInfoType * | FindArrayInfoByName (int otyp, const char *name) |
Find an ArrayInfo object for a specific object type using the name as a key. More... | |
int | IsObjectTypeBlock (int otyp) |
Does the specified object type match? Avoid using these... More... | |
int | IsObjectTypeSet (int otyp) |
int | IsObjectTypeMap (int otyp) |
int | GetObjectTypeFromMapType (int mtyp) |
Given a map type (NODE_MAP, EDGE_MAP, ...) return the associated object type (NODAL, EDGE_BLOCK, ...) or vice-versa. More... | |
int | GetMapTypeFromObjectType (int otyp) |
int | GetTemporalTypeFromObjectType (int otyp) |
int | GetSetTypeFromSetConnType (int sctyp) |
Given a set connectivity type (NODE_SET_CONN, ...), return the associated object type (NODE_SET, ...) or vice-versa. More... | |
int | GetBlockConnTypeFromBlockType (int btyp) |
Given a block type (EDGE_BLOCK, ...), return the associated block connectivity type (EDGE_BLOCK_CONN, ...) or vice-versa. More... | |
void | RemoveBeginningAndTrailingSpaces (int len, char **names) |
Function to trim space from names retrieved with ex_get_var_names. More... | |
void | ClearConnectivityCaches () |
Delete any cached connectivity information (for all blocks and sets) More... | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
~vtkObject () override | |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
These methods allow a command to exclusively grab all events. More... | |
void | InternalReleaseFocus () |
These methods allow a command to exclusively grab all events. More... | |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
std::map< int, std::vector< BlockInfoType > > | BlockInfo |
Maps a block type (EX_ELEM_BLOCK, EX_FACE_BLOCK, ...) to a list of blocks of that type. More... | |
std::map< int, std::vector< SetInfoType > > | SetInfo |
Maps a set type (EX_ELEM_SET, ..., EX_NODE_SET) to a list of sets of that type. More... | |
std::map< int, std::vector< MapInfoType > > | MapInfo |
Maps a map type (EX_ELEM_MAP, ..., EX_NODE_MAP) to a list of maps of that type. More... | |
std::vector< PartInfoType > | PartInfo |
std::vector< MaterialInfoType > | MaterialInfo |
std::vector< AssemblyInfoType > | AssemblyInfo |
std::map< int, std::vector< int > > | SortedObjectIndices |
Maps an object type to vector of indices that reorder objects of that type by their IDs. More... | |
std::map< int, std::vector< ArrayInfoType > > | ArrayInfo |
Maps an object type (EX_ELEM_BLOCK, EX_NODE_SET, ...) to a list of arrays. More... | |
std::map< int, std::vector< ArrayInfoType > > | InitialArrayInfo |
Maps an object type (EX_ELEM_BLOCK, EX_NODE_SET, ...) to a list of arrays defined on that type. More... | |
std::map< int, std::vector< ObjectInfoType > > | InitialObjectInfo |
Maps an object type (EX_ELEM_BLOCK, EX_NODE_SET, ...) to a list of objects defined on that type. More... | |
int | AppWordSize |
These aren't the variables you're looking for. More... | |
int | DiskWordSize |
float | ExodusVersion |
The version of Exodus that wrote the currently open file (or a negative number otherwise). More... | |
int | Exoid |
The handle of the currently open file. More... | |
struct ex_init_params | ModelParameters |
Parameters describing the currently open Exodus file. More... | |
std::vector< double > | Times |
A list of time steps for which results variables are stored. More... | |
bool | SkipUpdateTimeInformation |
double | ModeShapeTime |
The time value. More... | |
int | GenerateObjectIdArray |
int | GenerateGlobalIdArray |
int | GenerateFileIdArray |
int | GenerateGlobalElementIdArray |
int | GenerateGlobalNodeIdArray |
int | GenerateImplicitElementIdArray |
int | GenerateImplicitNodeIdArray |
int | FileId |
Defaults to 0. More... | |
vtkExodusIICache * | Cache |
A least-recently-used cache to hold raw arrays. More... | |
double | CacheSize |
The size of the cache in MiB. More... | |
int | ApplyDisplacements |
float | DisplacementMagnitude |
int | HasModeShapes |
int | AnimateModeShapes |
int | SqueezePoints |
Should the reader output only points used by elements in the output mesh, or all the points. More... | |
vtkExodusIIReader * | Parent |
Pointer to owning reader... More... | |
vtkExodusIIReaderParser * | Parser |
vtkExodusIIReader::ObjectType | FastPathObjectType |
vtkIdType | FastPathObjectId |
char * | FastPathIdType |
vtkMutableDirectedGraph * | SIL |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Friends | |
class | vtkExodusIIReader |
class | vtkPExodusIIReader |
This class holds metadata for an Exodus file.
Definition at line 22 of file vtkExodusIIReaderPrivate.h.
Definition at line 27 of file vtkExodusIIReaderPrivate.h.
Tags to indicate how single-component Exodus arrays are glommed (aggregated) into multi-component VTK arrays.
Definition at line 386 of file vtkExodusIIReaderPrivate.h.
Tags to indicate the source of values for an array.
Definition at line 396 of file vtkExodusIIReaderPrivate.h.
|
protected |
|
protected |
|
static |
void vtkExodusIIReaderPrivate::PrintData | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class.
Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObjectBase.
|
static |
|
protectedvirtual |
vtkExodusIIReaderPrivate* vtkExodusIIReaderPrivate::NewInstance | ( | ) | const |
int vtkExodusIIReaderPrivate::OpenFile | ( | const char * | filename | ) |
Open an ExodusII file for reading. Returns 0 on success.
int vtkExodusIIReaderPrivate::CloseFile | ( | ) |
Close any ExodusII file currently open for reading. Returns 0 on success.
int vtkExodusIIReaderPrivate::RequestInformation | ( | ) |
Get metadata for an open file with handle exoid.
|
inline |
Returns the SIL. This valid only after BuildSIL() has been called.
Definition at line 40 of file vtkExodusIIReaderPrivate.h.
int vtkExodusIIReaderPrivate::RequestData | ( | vtkIdType | timeStep, |
vtkMultiBlockDataSet * | output | ||
) |
Read requested data and store in unstructured grid.
int vtkExodusIIReaderPrivate::SetUpEmptyGrid | ( | vtkMultiBlockDataSet * | output | ) |
Description: Prepare a data set with the proper structure and arrays but no cells.
This is used by the parallel reader when a process has no files assigned to it.
void vtkExodusIIReaderPrivate::Reset | ( | ) |
Reset the class so that another file may be read.
This does not change any user-specified parameters, such as which generated arrays should be present, whether there are mode shapes or time steps, etc. Note that which arrays should be loaded is a more delicate issue; if you set these after RequestInformation has been called, these will not be saved. Any settings you make before RequestInformation is called will be saved because they are stored in InitialArrayInfo and InitialObjectInfo.
void vtkExodusIIReaderPrivate::ResetSettings | ( | ) |
Return user-specified variables to their default values.
Calling ResetSettings() and then Reset() will return the class to a state just like it was after New() was called.
void vtkExodusIIReaderPrivate::ResetCache | ( | ) |
Clears out any data in the cache and restores it to its initial state.
void vtkExodusIIReaderPrivate::SetCacheSize | ( | double | size | ) |
Set the size of the cache in MiB.
|
virtual |
Get the size of the cache in MiB.
|
inline |
Return the number of time steps in the open file.
You must have called RequestInformation() before invoking this member function.
Definition at line 84 of file vtkExodusIIReaderPrivate.h.
|
virtual |
Return whether subsequent RequestData() calls will produce the minimal point set required to represent the output.
void vtkExodusIIReaderPrivate::SetSqueezePoints | ( | int | sp | ) |
Set whether subsequent RequestData() calls will produce the minimal point set required to represent the output.
|
virtual |
Convenience routines that for producing (or not) the minimal point set required to represent the output.
|
virtual |
int vtkExodusIIReaderPrivate::GetNumberOfNodes | ( | ) |
Return the number of nodes in the output (depends on SqueezePoints)
Returns the number of objects of a given type (e.g., EX_ELEM_BLOCK, EX_NODE_SET, ...).
You must have called RequestInformation before invoking this member function.
Returns the number of arrays defined over objects of a given type (e.g., EX_ELEM_BLOCK, EX_NODE_SET, ...).
You must have called RequestInformation before invoking this member function.
N.B.: This method will eventually disappear. Really, what we should be providing is an interface to query the arrays defined on a particular object, not a class of objects. However, until the reader outputs multiblock datasets, we can't be that specific.
For a given object type, returns the name of the i-th object.
You must have called RequestInformation before invoking this member function.
For a given object type, return the user-assigned ID of the i-th object.
You must have called RequestInformation before invoking this member function.
For a given object type, return the size of the i-th object.
The size is the number of entries. As an example, for an element block, it is the number of elements. You must have called RequestInformation before invoking this member function.
For a given object type, returns the status of the i-th object.
You must have called RequestInformation before invoking this member function.
For a given object type, returns the status of the i-th object, where i is an index into the unsorted object array.
You must have called RequestInformation before invoking this member function.
For a given object type, sets the status of the i-th object.
You must have called RequestInformation before invoking this member function.
For a given object type, sets the status of the i-th object, where i is an index into the unsorted object array.
You must have called RequestInformation before invoking this member function.
For a given object type, returns the name of the i-th array.
You must have called RequestInformation before invoking this member function.
For a given object type, returns the number of components of the i-th array.
You must have called RequestInformation before invoking this member function.
For a given object type, returns the status of the i-th array.
You must have called RequestInformation before invoking this member function.
For a given object type, sets the status of the i-th array.
You must have called RequestInformation before invoking this member function.
Unlike object arrays, attributes are only defined over blocks (not sets) and are defined on a per-block (not a per-block-type) basis.
In other words, there is no truth table for attributes. This means the interface is different because each block can have a different number of attributes with different names.
const char* vtkExodusIIReaderPrivate::GetObjectAttributeName | ( | int | objectType, |
int | objectIndex, | ||
int | attributeIndex | ||
) |
int vtkExodusIIReaderPrivate::GetObjectAttributeIndex | ( | int | objectType, |
int | objectIndex, | ||
const char * | attribName | ||
) |
int vtkExodusIIReaderPrivate::GetObjectAttributeStatus | ( | int | objectType, |
int | objectIndex, | ||
int | attribIndex | ||
) |
void vtkExodusIIReaderPrivate::SetObjectAttributeStatus | ( | int | objectType, |
int | objectIndex, | ||
int | attribIndex, | ||
int | status | ||
) |
|
virtual |
Generate an array containing the block or set ID associated with each cell.
|
virtual |
|
inlinestatic |
Definition at line 213 of file vtkExodusIIReaderPrivate.h.
|
virtual |
|
virtual |
|
inlinestatic |
Definition at line 217 of file vtkExodusIIReaderPrivate.h.
|
virtual |
|
virtual |
|
inlinestatic |
Definition at line 221 of file vtkExodusIIReaderPrivate.h.
|
virtual |
|
virtual |
|
inlinestatic |
Definition at line 225 of file vtkExodusIIReaderPrivate.h.
|
virtual |
|
virtual |
|
inlinestatic |
Definition at line 229 of file vtkExodusIIReaderPrivate.h.
|
virtual |
Should we generate an array defined over all cells (whether they are members of blocks or sets) indicating the source file?
|
virtual |
|
inlinestatic |
Definition at line 236 of file vtkExodusIIReaderPrivate.h.
|
virtual |
Set/get the number that identifies this file in a series of files (defaults to 0).
|
virtual |
|
inlinestatic |
Definition at line 242 of file vtkExodusIIReaderPrivate.h.
|
inlinestatic |
Definition at line 244 of file vtkExodusIIReaderPrivate.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
vtkDataArray* vtkExodusIIReaderPrivate::FindDisplacementVectors | ( | int | timeStep | ) |
|
inline |
Definition at line 264 of file vtkExodusIIReaderPrivate.h.
|
virtual |
|
virtual |
|
inline |
Definition at line 417 of file vtkExodusIIReaderPrivate.h.
int vtkExodusIIReaderPrivate::GetNumberOfParts | ( | ) |
const char* vtkExodusIIReaderPrivate::GetPartName | ( | int | idx | ) |
const char* vtkExodusIIReaderPrivate::GetPartBlockInfo | ( | int | idx | ) |
int vtkExodusIIReaderPrivate::GetPartStatus | ( | vtkStdString | name | ) |
void vtkExodusIIReaderPrivate::SetPartStatus | ( | vtkStdString | name, |
int | flag | ||
) |
int vtkExodusIIReaderPrivate::GetNumberOfMaterials | ( | ) |
const char* vtkExodusIIReaderPrivate::GetMaterialName | ( | int | idx | ) |
int vtkExodusIIReaderPrivate::GetMaterialStatus | ( | vtkStdString | name | ) |
void vtkExodusIIReaderPrivate::SetMaterialStatus | ( | vtkStdString | name, |
int | flag | ||
) |
int vtkExodusIIReaderPrivate::GetNumberOfAssemblies | ( | ) |
const char* vtkExodusIIReaderPrivate::GetAssemblyName | ( | int | idx | ) |
int vtkExodusIIReaderPrivate::GetAssemblyStatus | ( | vtkStdString | name | ) |
void vtkExodusIIReaderPrivate::SetAssemblyStatus | ( | vtkStdString | name, |
int | flag | ||
) |
|
inline |
Definition at line 449 of file vtkExodusIIReaderPrivate.h.
|
inline |
Definition at line 451 of file vtkExodusIIReaderPrivate.h.
|
virtual |
bool vtkExodusIIReaderPrivate::IsXMLMetadataValid | ( | ) |
void vtkExodusIIReaderPrivate::GetInitialObjectStatus | ( | int | otype, |
ObjectInfoType * | info | ||
) |
For a given object type, looks for an object in the collection of initial objects of the same name, or if the name is empty, then of the same id as "info".
If found, info's Status is set to the status of the found object. You DO NOT need to have called RequestInformation before invoking this member function.
void vtkExodusIIReaderPrivate::GetInitialObjectArrayStatus | ( | int | otype, |
ArrayInfoType * | info | ||
) |
For a given array type, looks for an object in the collection of initial objects of the same name, or if the name is empty, then of the same id as "info".
If found, info's Status is set to the status of the found object. You DO NOT need to have called RequestInformation before invoking this member function.
For a given object type, creates and stores an ObjectInfoType object using the given name and status.
If the name contains a "ID: %d" substring, then it is used to initialize the ObjectInfoType.Id value. You DO NOT need to have called RequestInformation before invoking this member function.
void vtkExodusIIReaderPrivate::SetInitialObjectArrayStatus | ( | int | otype, |
const char * | name, | ||
int | stat | ||
) |
For a given array type, creates and stores an ArrayInfoType object using the given name and status.
You DO NOT need to have called RequestInformation before invoking this member function.
int vtkExodusIIReaderPrivate::UpdateTimeInformation | ( | ) |
|
protected |
Build SIL. This must be called only after RequestInformation().
|
protected |
Returns true when order and text of names are consistent with integration points.
Called from GlomArrayNames().
|
protected |
Aggregate Exodus array names into VTK arrays with multiple components.
|
protected |
Add generated array information to array info lists.
|
protected |
Read connectivity information and populate an unstructured grid with cells corresponding to a single block or set.
If the connectivity hasn't changed since the last time RequestData was called, this copies a cache to the output.
Otherwise, this routine iterates over all block and set types. For each type, it iterates over all objects of that type. For each object whose status is 1, it reads that object's connectivity entries from cache or disk and inserts cells into CachedConnectivity. If SqueezePoints is on, then connectivity entries are translated as required and PointMap is populated. Finally, CachedConnectivity is shallow-copied to the output.
AssembleOutputConnectivity returns 1 if cache was used, 0 otherwise.
|
protected |
Fill the output grid's point coordinates array.
Returns 1 on success, 0 on failure. Failure occurs when the Exodus library is unable to read the point coordindates array. This can be caused when there is not enough memory or there is a file I/O problem.
|
protected |
Add the requested arrays to the output grid's point data.
This adds time-varying results arrays to the grid's vtkPointData object.
|
protected |
Add the requested arrays to the output grid's cell data.
This adds time-varying results arrays to the grid's vtkCellData object.
|
protected |
Add procedurally generated arrays to an output mesh.
Currently, the only array that is procedurally generated is the object id array. Others may be added in the future.
|
protected |
Add mesh-global field data such as QA records to the output mesh.
|
protected |
Add maps to an output mesh.
Maps are special integer arrays that may serve as GlobalId fields in vtkDataSetAttributes objects. Maps may be procedurally generated if no map is contained in a file. Maps are not time-varying.
|
protected |
|
protected |
Add fast-path time-varying data to field data of an output block or set.
|
protected |
Insert polyhedral cells (called from InsertBlockCells when a block is polyhedra)
|
protected |
Insert cells from a specified block into a mesh.
|
protected |
Insert cells from a specified set into a mesh.
|
protected |
Add a point array to an output grid's point data, squeezing if necessary.
|
protected |
Insert cells referenced by a node set.
|
protected |
Insert cells referenced by an edge, face, or element set.
|
protected |
Insert cells referenced by a side set.
|
protected |
Return an array for the specified cache key.
If the array was not cached, read it from the file. This function can still return 0 if you are foolish enough to request an array not present in the file, grasshopper.
Return the index of an object type (in a private list of all object types).
This returns a 0-based index if the object type was found and -1 if it was not.
Return the index of an object type (in a private list of all object types).
This returns a 0-based index if the object type was found and -1 if it was not.
Return the number of objects of the given type.
The integer typeIndex is not the type of the object (e.g., EX_ELEM_BLOCK), but is rather the index into the list of all object types (see obj_types in vtkExodusIIReader.cxx).
|
protected |
Return a pointer to the ObjectInfo of the specified type and index.
The integer typeIndex is not the type of the object (e.g., EX_ELEM_BLOCK), but is rather the index into the list of all object types (see obj_types in vtkExodusIIReader.cxx). The integer objectIndex is not the ID of the object (i.e., the ID stored in the Exodus file), but is rather the index into the list of all objects of the given type.
|
protected |
Return a pointer to the ObjectInfo of the specified type and index, but using indices sorted by object ID.
This is the same as GetObjectInfo() except that it uses the SortedObjectIndices member to permute the requested objectIndex and it takes an object type (e.g., EX_ELEM_BLOCK) rather than an object type index.
|
protected |
Return a pointer to the ObjectInfo of the specified type and index, but using indices sorted by object ID.
This is the same as GetSortedObjectInfo() except that objectIndex directly indexes the object info array rather SortedObjectIndices, and it takes an object type (e.g., EX_ELEM_BLOCK) rather than an object type index.
Get the index of the block containing the entity referenced by the specified file-global ID.
In this case, an entity is an edge, face, or element.
|
protected |
Get the block containing the entity referenced by the specified file-global ID.
In this case, an entity is an edge, face, or element.
|
protected |
Find or create a new SqueezePoint ID (unique sequential list of points referenced by cells in blocks/sets with Status == 1)
|
protected |
Determine the VTK cell type for a given edge/face/element block.
|
protected |
Find an ArrayInfo object for a specific object type using the name as a key.
Does the specified object type match? Avoid using these...
they aren't robust against new types being implemented.
Given a map type (NODE_MAP, EDGE_MAP, ...) return the associated object type (NODAL, EDGE_BLOCK, ...) or vice-versa.
Given a set connectivity type (NODE_SET_CONN, ...), return the associated object type (NODE_SET, ...) or vice-versa.
Given a block type (EDGE_BLOCK, ...), return the associated block connectivity type (EDGE_BLOCK_CONN, ...) or vice-versa.
|
protected |
Function to trim space from names retrieved with ex_get_var_names.
This was added because some meshes had displacement arrays named "DISPX ", "DISPY ", "DISPZ " (note trailing spaces), which prevented glomming and use of the vector field for displacements.
|
protected |
Delete any cached connectivity information (for all blocks and sets)
|
friend |
Definition at line 408 of file vtkExodusIIReaderPrivate.h.
|
friend |
Definition at line 409 of file vtkExodusIIReaderPrivate.h.
vtkTimeStamp vtkExodusIIReaderPrivate::InformationTimeStamp |
Time stamp from last time we were in RequestInformation.
Definition at line 406 of file vtkExodusIIReaderPrivate.h.
bool vtkExodusIIReaderPrivate::ProducedFastPathOutput |
Definition at line 491 of file vtkExodusIIReaderPrivate.h.
|
protected |
Maps a block type (EX_ELEM_BLOCK, EX_FACE_BLOCK, ...) to a list of blocks of that type.
Definition at line 722 of file vtkExodusIIReaderPrivate.h.
|
protected |
Maps a set type (EX_ELEM_SET, ..., EX_NODE_SET) to a list of sets of that type.
Definition at line 726 of file vtkExodusIIReaderPrivate.h.
|
protected |
Maps a map type (EX_ELEM_MAP, ..., EX_NODE_MAP) to a list of maps of that type.
In old-style files, the only entries will be a single node and a single element map which have no specified ID number or name. In that case, an ID of 0 and a name of "Default" will be given to both.
Definition at line 732 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 734 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 735 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 736 of file vtkExodusIIReaderPrivate.h.
Maps an object type to vector of indices that reorder objects of that type by their IDs.
This is used by the user interface to access blocks, sets, and maps in ascending order. It is not used internally.
Definition at line 742 of file vtkExodusIIReaderPrivate.h.
|
protected |
Maps an object type (EX_ELEM_BLOCK, EX_NODE_SET, ...) to a list of arrays.
Definition at line 745 of file vtkExodusIIReaderPrivate.h.
|
protected |
Maps an object type (EX_ELEM_BLOCK, EX_NODE_SET, ...) to a list of arrays defined on that type.
Used to store initial status of arrays before RequestInformation can be called.
Definition at line 751 of file vtkExodusIIReaderPrivate.h.
|
protected |
Maps an object type (EX_ELEM_BLOCK, EX_NODE_SET, ...) to a list of objects defined on that type.
Used to store initial status of objects before RequestInformation can be called.
Definition at line 757 of file vtkExodusIIReaderPrivate.h.
|
protected |
These aren't the variables you're looking for.
Definition at line 760 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 761 of file vtkExodusIIReaderPrivate.h.
|
protected |
The version of Exodus that wrote the currently open file (or a negative number otherwise).
Definition at line 766 of file vtkExodusIIReaderPrivate.h.
|
protected |
The handle of the currently open file.
Definition at line 769 of file vtkExodusIIReaderPrivate.h.
|
protected |
Parameters describing the currently open Exodus file.
Definition at line 772 of file vtkExodusIIReaderPrivate.h.
|
protected |
A list of time steps for which results variables are stored.
Definition at line 775 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 776 of file vtkExodusIIReaderPrivate.h.
|
protected |
The time value.
This is used internally when HasModeShapes is true and ignored otherwise.
Definition at line 781 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 783 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 784 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 785 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 786 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 787 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 788 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 789 of file vtkExodusIIReaderPrivate.h.
|
protected |
Defaults to 0.
Set by vtkPExodusIIReader on each entry of ReaderList. Used to generate the file ID array over all output cells.
Definition at line 794 of file vtkExodusIIReaderPrivate.h.
|
protected |
A least-recently-used cache to hold raw arrays.
Definition at line 797 of file vtkExodusIIReaderPrivate.h.
|
protected |
The size of the cache in MiB.
Definition at line 800 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 802 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 803 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 804 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 805 of file vtkExodusIIReaderPrivate.h.
|
protected |
Should the reader output only points used by elements in the output mesh, or all the points.
Outputting all the points is much faster since the point array can be read straight from disk and the mesh connectivity need not be altered. Squeezing the points down to the minimum set needed to produce the output mesh is useful for glyphing and other point-based operations. On large parallel datasets, loading all the points implies loading all the points on all processes and performing subsequent filtering on a much larger set.
By default, SqueezePoints is true for backwards compatibility.
Definition at line 818 of file vtkExodusIIReaderPrivate.h.
|
protected |
Pointer to owning reader...
this is not registered in order to avoid circular references.
Definition at line 823 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 825 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 827 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 828 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 829 of file vtkExodusIIReaderPrivate.h.
|
protected |
Definition at line 831 of file vtkExodusIIReaderPrivate.h.