File indexing completed on 2026-10-05 09:22:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESAppli_ElementResults_HeaderFile
0018 #define _IGESAppli_ElementResults_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <Standard_Integer.hxx>
0023 #include <Standard_Real.hxx>
0024 #include <NCollection_Array1.hxx>
0025 #include <NCollection_HArray1.hxx>
0026 #include <IGESAppli_FiniteElement.hxx>
0027 #include <IGESData_IGESEntity.hxx>
0028 class IGESDimen_GeneralNote;
0029 class IGESBasic_HArray1OfHArray1OfInteger;
0030 class IGESBasic_HArray1OfHArray1OfReal;
0031 class IGESAppli_FiniteElement;
0032
0033
0034
0035
0036 class IGESAppli_ElementResults : public IGESData_IGESEntity
0037 {
0038
0039 public:
0040 Standard_EXPORT IGESAppli_ElementResults();
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057 Standard_EXPORT void Init(
0058 const occ::handle<IGESDimen_GeneralNote>& aNote,
0059 const int aSubCase,
0060 const double aTime,
0061 const int nbResults,
0062 const int aResRepFlag,
0063 const occ::handle<NCollection_HArray1<int>>& allElementIdents,
0064 const occ::handle<NCollection_HArray1<occ::handle<IGESAppli_FiniteElement>>>& allFiniteElems,
0065 const occ::handle<NCollection_HArray1<int>>& allTopTypes,
0066 const occ::handle<NCollection_HArray1<int>>& nbLayers,
0067 const occ::handle<NCollection_HArray1<int>>& allDataLayerFlags,
0068 const occ::handle<NCollection_HArray1<int>>& allnbResDataLocs,
0069 const occ::handle<IGESBasic_HArray1OfHArray1OfInteger>& allResDataLocs,
0070 const occ::handle<IGESBasic_HArray1OfHArray1OfReal>& allResults);
0071
0072
0073
0074 Standard_EXPORT void SetFormNumber(const int form);
0075
0076
0077 Standard_EXPORT occ::handle<IGESDimen_GeneralNote> Note() const;
0078
0079
0080 Standard_EXPORT int SubCaseNumber() const;
0081
0082
0083 Standard_EXPORT double Time() const;
0084
0085
0086 Standard_EXPORT int NbResultValues() const;
0087
0088
0089 Standard_EXPORT int ResultReportFlag() const;
0090
0091
0092 Standard_EXPORT int NbElements() const;
0093
0094
0095 Standard_EXPORT int ElementIdentifier(const int Index) const;
0096
0097
0098 Standard_EXPORT occ::handle<IGESAppli_FiniteElement> Element(const int Index) const;
0099
0100
0101 Standard_EXPORT int ElementTopologyType(const int Index) const;
0102
0103
0104 Standard_EXPORT int NbLayers(const int Index) const;
0105
0106
0107 Standard_EXPORT int DataLayerFlag(const int Index) const;
0108
0109
0110 Standard_EXPORT int NbResultDataLocs(const int Index) const;
0111
0112
0113
0114 Standard_EXPORT int ResultDataLoc(const int NElem, const int NLoc) const;
0115
0116
0117 Standard_EXPORT int NbResults(const int Index) const;
0118
0119
0120
0121
0122 Standard_EXPORT double ResultData(const int NElem, const int num) const;
0123
0124
0125
0126 Standard_EXPORT int ResultRank(const int NElem,
0127 const int NVal,
0128 const int NLay,
0129 const int NLoc) const;
0130
0131
0132
0133
0134
0135
0136
0137
0138
0139
0140 Standard_EXPORT double ResultData(const int NElem,
0141 const int NVal,
0142 const int NLay,
0143 const int NLoc) const;
0144
0145
0146
0147 Standard_EXPORT occ::handle<NCollection_HArray1<double>> ResultList(const int NElem) const;
0148
0149 DEFINE_STANDARD_RTTIEXT(IGESAppli_ElementResults, IGESData_IGESEntity)
0150
0151 private:
0152 occ::handle<IGESDimen_GeneralNote> theNote;
0153 int theSubcaseNumber;
0154 double theTime;
0155 int theNbResultValues;
0156 int theResultReportFlag;
0157 occ::handle<NCollection_HArray1<int>> theElementIdentifiers;
0158 occ::handle<NCollection_HArray1<occ::handle<IGESAppli_FiniteElement>>> theElements;
0159 occ::handle<NCollection_HArray1<int>> theElementTopologyTypes;
0160 occ::handle<NCollection_HArray1<int>> theNbLayers;
0161 occ::handle<NCollection_HArray1<int>> theDataLayerFlags;
0162 occ::handle<NCollection_HArray1<int>> theNbResultDataLocs;
0163 occ::handle<IGESBasic_HArray1OfHArray1OfInteger> theResultDataLocs;
0164 occ::handle<IGESBasic_HArray1OfHArray1OfReal> theResultData;
0165 };
0166
0167 #endif