73#ifndef vtkModelMetadata_h
74#define vtkModelMetadata_h
76#include "vtkIOExodusModule.h"
87class vtkModelMetadataSTLCloak;
124 vtkSetStringMacro(Title);
125 const char*
GetTitle()
const {
return this->Title; }
151 vtkSetMacro(TimeStepIndex,
int);
185 vtkSetMacro(NumberOfBlocks,
int);
247 return this->BlockNumberOfAttributesPerElement;
275 vtkSetMacro(NumberOfNodeSets,
int);
316 return this->NodeSetNumberOfDistributionFactors;
331 vtkSetMacro(SumNodesPerNodeSet,
int);
357 vtkSetMacro(NumberOfSideSets,
int);
387 return this->SideSetNumberOfDistributionFactors;
436 vtkSetMacro(SumSidesPerSideSet,
int);
545 int numOrigNames,
char** origNames,
int numNames,
char** names,
int* numComp,
int* map);
560 int numOrigNames,
char** origNames,
int numNames,
char** names,
int* numComp,
int* map);
581 return this->AllVariablesDefinedInAllBlocks;
609 return this->ElementVariableNumberOfComponents;
613 return this->MapToOriginalElementVariableNames;
659 void InitializeAllMetadata();
660 void InitializeAllIvars();
662 void FreeAllMetadata();
665 int BuildBlockElementIdListIndex();
666 int BuildBlockAttributesIndex();
667 int BuildSideSetDistributionFactorIndex();
669 static char* StrDupWithNew(
const char* s);
671 static int FindNameOnList(
char*
name,
char** list,
int listLen);
673 void ShowFloats(
const char* what,
int num,
float* f);
674 void ShowLines(
const char* what,
int num,
char** l);
675 void ShowIntArray(
const char* what,
int numx,
int numy,
int*
id);
676 void ShowInts(
const char* what,
int num,
int*
id);
677 void ShowListsOfInts(
const char* what,
int* list,
int nlists,
int* idx,
int len,
int verbose);
678 void ShowListsOfFloats(
const char* what,
float* list,
int nlists,
int* idx,
int len,
int verbose);
680 void SetOriginalElementVariableNames(
int nvars,
char** names);
681 void SetElementVariableNames(
int nvars,
char** names);
682 void SetElementVariableNumberOfComponents(
int* comp);
683 void SetMapToOriginalElementVariableNames(
int* map);
685 void SetOriginalNodeVariableNames(
int nvars,
char** names);
686 void SetNodeVariableNames(
int nvars,
char** names);
687 void SetNodeVariableNumberOfComponents(
int* comp);
688 void SetMapToOriginalNodeVariableNames(
int* map);
690 int CalculateMaximumLengths(
int& maxString,
int& maxLine);
699 int NumberOfInformationLines;
700 char** InformationLine;
703 char** CoordinateNames;
708 int NumberOfTimeSteps;
709 float* TimeStepValues;
716 char** BlockElementType;
717 int* BlockNumberOfElements;
718 int* BlockNodesPerElement;
719 int* BlockNumberOfAttributesPerElement;
720 int* BlockElementIdList;
721 float* BlockAttributes;
725 int SumElementsPerBlock;
726 int SizeBlockAttributeArray;
728 int* BlockElementIdListIndex;
729 int* BlockAttributesIndex;
731 vtkModelMetadataSTLCloak* BlockIdIndex;
735 int NumberOfNodeSets;
741 int* NodeSetNumberOfDistributionFactors;
742 int* NodeSetNodeIdList;
743 float* NodeSetDistributionFactors;
747 int SumNodesPerNodeSet;
748 int SumDistFactPerNodeSet;
750 int* NodeSetNodeIdListIndex;
751 int* NodeSetDistributionFactorIndex;
755 int NumberOfSideSets;
761 int* SideSetNumberOfDistributionFactors;
762 int* SideSetElementList;
763 int* SideSetSideList;
764 int* SideSetNumDFPerSide;
765 float* SideSetDistributionFactors;
769 int SumSidesPerSideSet;
770 int SumDistFactPerSideSet;
772 int* SideSetListIndex;
773 int* SideSetDistributionFactorIndex;
777 int NumberOfBlockProperties;
778 char** BlockPropertyNames;
779 int* BlockPropertyValue;
781 int NumberOfNodeSetProperties;
782 char** NodeSetPropertyNames;
783 int* NodeSetPropertyValue;
785 int NumberOfSideSetProperties;
786 char** SideSetPropertyNames;
787 int* SideSetPropertyValue;
797 int NumberOfGlobalVariables;
798 char** GlobalVariableNames;
799 float* GlobalVariableValue;
807 int OriginalNumberOfElementVariables;
808 char** OriginalElementVariableNames;
809 int NumberOfElementVariables;
810 int MaxNumberOfElementVariables;
811 char** ElementVariableNames;
812 int* ElementVariableNumberOfComponents;
813 int* MapToOriginalElementVariableNames;
815 int OriginalNumberOfNodeVariables;
816 char** OriginalNodeVariableNames;
817 int NumberOfNodeVariables;
818 int MaxNumberOfNodeVariables;
819 char** NodeVariableNames;
820 int* NodeVariableNumberOfComponents;
821 int* MapToOriginalNodeVariableNames;
823 int* ElementVariableTruthTable;
dynamic, self-adjusting array of char
abstract class to specify dataset behavior
dynamic, self-adjusting array of float
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
dynamic, self-adjusting array of int
abstract base class for most VTK objects
a vtkAbstractArray subclass for strings