58#ifndef vtkModelMetadata_h
59#define vtkModelMetadata_h
61#include "vtkIOExodusModule.h"
65VTK_ABI_NAMESPACE_BEGIN
73class vtkModelMetadataSTLCloak;
110 vtkSetStringMacro(Title);
111 const char*
GetTitle()
const {
return this->Title; }
137 vtkSetMacro(TimeStepIndex,
int);
171 vtkSetMacro(NumberOfBlocks,
int);
233 return this->BlockNumberOfAttributesPerElement;
261 vtkSetMacro(NumberOfNodeSets,
int);
302 return this->NodeSetNumberOfDistributionFactors;
317 vtkSetMacro(SumNodesPerNodeSet,
int);
343 vtkSetMacro(NumberOfSideSets,
int);
373 return this->SideSetNumberOfDistributionFactors;
422 vtkSetMacro(SumSidesPerSideSet,
int);
531 int numOrigNames,
char** origNames,
int numNames,
char** names,
int* numComp,
int* map);
546 int numOrigNames,
char** origNames,
int numNames,
char** names,
int* numComp,
int* map);
567 return this->AllVariablesDefinedInAllBlocks;
595 return this->ElementVariableNumberOfComponents;
599 return this->MapToOriginalElementVariableNames;
645 void InitializeAllMetadata();
646 void InitializeAllIvars();
648 void FreeAllMetadata();
651 int BuildBlockElementIdListIndex();
652 int BuildBlockAttributesIndex();
653 int BuildSideSetDistributionFactorIndex();
655 static char* StrDupWithNew(
const char* s);
657 static int FindNameOnList(
char* name,
char** list,
int listLen);
659 void ShowFloats(
const char* what,
int num,
float* f);
660 void ShowLines(
const char* what,
int num,
char** l);
661 void ShowIntArray(
const char* what,
int numx,
int numy,
int*
id);
662 void ShowInts(
const char* what,
int num,
int*
id);
663 void ShowListsOfInts(
const char* what,
int* list,
int nlists,
int* idx,
int len,
int verbose);
664 void ShowListsOfFloats(
const char* what,
float* list,
int nlists,
int* idx,
int len,
int verbose);
666 void SetOriginalElementVariableNames(
int nvars,
char** names);
667 void SetElementVariableNames(
int nvars,
char** names);
668 void SetElementVariableNumberOfComponents(
int* comp);
669 void SetMapToOriginalElementVariableNames(
int* map);
671 void SetOriginalNodeVariableNames(
int nvars,
char** names);
672 void SetNodeVariableNames(
int nvars,
char** names);
673 void SetNodeVariableNumberOfComponents(
int* comp);
674 void SetMapToOriginalNodeVariableNames(
int* map);
676 int CalculateMaximumLengths(
int& maxString,
int& maxLine);
685 int NumberOfInformationLines;
686 char** InformationLine;
689 char** CoordinateNames;
694 int NumberOfTimeSteps;
695 float* TimeStepValues;
702 char** BlockElementType;
703 int* BlockNumberOfElements;
704 int* BlockNodesPerElement;
705 int* BlockNumberOfAttributesPerElement;
706 int* BlockElementIdList;
707 float* BlockAttributes;
711 int SumElementsPerBlock;
712 int SizeBlockAttributeArray;
714 int* BlockElementIdListIndex;
715 int* BlockAttributesIndex;
717 vtkModelMetadataSTLCloak* BlockIdIndex;
721 int NumberOfNodeSets;
727 int* NodeSetNumberOfDistributionFactors;
728 int* NodeSetNodeIdList;
729 float* NodeSetDistributionFactors;
733 int SumNodesPerNodeSet;
734 int SumDistFactPerNodeSet;
736 int* NodeSetNodeIdListIndex;
737 int* NodeSetDistributionFactorIndex;
741 int NumberOfSideSets;
747 int* SideSetNumberOfDistributionFactors;
748 int* SideSetElementList;
749 int* SideSetSideList;
750 int* SideSetNumDFPerSide;
751 float* SideSetDistributionFactors;
755 int SumSidesPerSideSet;
756 int SumDistFactPerSideSet;
758 int* SideSetListIndex;
759 int* SideSetDistributionFactorIndex;
763 int NumberOfBlockProperties;
764 char** BlockPropertyNames;
765 int* BlockPropertyValue;
767 int NumberOfNodeSetProperties;
768 char** NodeSetPropertyNames;
769 int* NodeSetPropertyValue;
771 int NumberOfSideSetProperties;
772 char** SideSetPropertyNames;
773 int* SideSetPropertyValue;
783 int NumberOfGlobalVariables;
784 char** GlobalVariableNames;
785 float* GlobalVariableValue;
793 int OriginalNumberOfElementVariables;
794 char** OriginalElementVariableNames;
795 int NumberOfElementVariables;
796 int MaxNumberOfElementVariables;
797 char** ElementVariableNames;
798 int* ElementVariableNumberOfComponents;
799 int* MapToOriginalElementVariableNames;
801 int OriginalNumberOfNodeVariables;
802 char** OriginalNodeVariableNames;
803 int NumberOfNodeVariables;
804 int MaxNumberOfNodeVariables;
805 char** NodeVariableNames;
806 int* NodeVariableNumberOfComponents;
807 int* MapToOriginalNodeVariableNames;
809 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
Hold a reference to a vtkObjectBase instance.
a vtkAbstractArray subclass for strings