// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _IGESAppli_ElementResults_HeaderFile #define _IGESAppli_ElementResults_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_IGESAppli_ElementResults_HeaderFile #include #endif #ifndef _Handle_IGESDimen_GeneralNote_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile #include #endif #ifndef _Handle_IGESAppli_HArray1OfFiniteElement_HeaderFile #include #endif #ifndef _Handle_IGESBasic_HArray1OfHArray1OfInteger_HeaderFile #include #endif #ifndef _Handle_IGESBasic_HArray1OfHArray1OfReal_HeaderFile #include #endif #ifndef _IGESData_IGESEntity_HeaderFile #include #endif #ifndef _Handle_IGESAppli_FiniteElement_HeaderFile #include #endif #ifndef _Handle_TColStd_HArray1OfReal_HeaderFile #include #endif class IGESDimen_GeneralNote; class TColStd_HArray1OfInteger; class IGESAppli_HArray1OfFiniteElement; class IGESBasic_HArray1OfHArray1OfInteger; class IGESBasic_HArray1OfHArray1OfReal; class Standard_DimensionMismatch; class Standard_OutOfRange; class IGESAppli_FiniteElement; class TColStd_HArray1OfReal; //! defines ElementResults, Type <148>
//! in package IGESAppli
//! Used to find the results of FEM analysis
class IGESAppli_ElementResults : public IGESData_IGESEntity { public: Standard_EXPORT IGESAppli_ElementResults(); //! This method is used to set the fields of the class
//! ElementResults
//! - aNote : GeneralNote Entity describing analysis
//! - aSubCase : Analysis Subcase number
//! - aTime : Analysis time value
//! - nbResults : Number of result values per FEM
//! - aResRepFlag : Results Reporting Flag
//! - allElementIdents : FEM element number for elements
//! - allFiniteElems : FEM element
//! - allTopTypes : Element Topology Types
//! - nbLayers : Number of layers per result data location
//! - allDataLayerFlags : Data Layer Flags
//! - allnbResDataLocs : Number of result data report locations
//! - allResDataLocs : Result Data Report Locations
//! - allResults : List of Result data values of FEM analysis
Standard_EXPORT void Init(const Handle(IGESDimen_GeneralNote)& aNote,const Standard_Integer aSubCase,const Standard_Real aTime,const Standard_Integer nbResults,const Standard_Integer aResRepFlag,const Handle(TColStd_HArray1OfInteger)& allElementIdents,const Handle(IGESAppli_HArray1OfFiniteElement)& allFiniteElems,const Handle(TColStd_HArray1OfInteger)& allTopTypes,const Handle(TColStd_HArray1OfInteger)& nbLayers,const Handle(TColStd_HArray1OfInteger)& allDataLayerFlags,const Handle(TColStd_HArray1OfInteger)& allnbResDataLocs,const Handle(IGESBasic_HArray1OfHArray1OfInteger)& allResDataLocs,const Handle(IGESBasic_HArray1OfHArray1OfReal)& allResults) ; //! Changes the FormNumber (which indicates Type of Result)
//! Error if not in range [0-34]
Standard_EXPORT void SetFormNumber(const Standard_Integer form) ; //! returns General Note Entity describing analysis case
Standard_EXPORT Handle_IGESDimen_GeneralNote Note() const; //! returns analysis Subcase number
Standard_EXPORT Standard_Integer SubCaseNumber() const; //! returns analysis time value
Standard_EXPORT Standard_Real Time() const; //! returns number of result values per FEM
Standard_EXPORT Standard_Integer NbResultValues() const; //! returns Results Reporting Flag
Standard_EXPORT Standard_Integer ResultReportFlag() const; //! returns number of FEM elements
Standard_EXPORT Standard_Integer NbElements() const; //! returns FEM element number for elements
Standard_EXPORT Standard_Integer ElementIdentifier(const Standard_Integer Index) const; //! returns FEM element
Standard_EXPORT Handle_IGESAppli_FiniteElement Element(const Standard_Integer Index) const; //! returns element Topology Types
Standard_EXPORT Standard_Integer ElementTopologyType(const Standard_Integer Index) const; //! returns number of layers per result data location
Standard_EXPORT Standard_Integer NbLayers(const Standard_Integer Index) const; //! returns Data Layer Flags
Standard_EXPORT Standard_Integer DataLayerFlag(const Standard_Integer Index) const; //! returns number of result data report locations
Standard_EXPORT Standard_Integer NbResultDataLocs(const Standard_Integer Index) const; //! returns Result Data Report Locations
//! UNFINISHED
Standard_EXPORT Standard_Integer ResultDataLoc(const Standard_Integer NElem,const Standard_Integer NLoc) const; //! returns total number of results
Standard_EXPORT Standard_Integer NbResults(const Standard_Integer Index) const; //! returns Result data value for an Element, given its
//! order between 1 and (direct access)
//! For a more comprehensive access, see below
Standard_EXPORT Standard_Real ResultData(const Standard_Integer NElem,const Standard_Integer num) const; //! Computes, for a given Element , the rank of a
//! individual Result Data, given ,,
Standard_EXPORT Standard_Integer ResultRank(const Standard_Integer NElem,const Standard_Integer NVal,const Standard_Integer NLay,const Standard_Integer NLoc) const; //! returns Result data values of FEM analysis, according this
//! definition :
//! - : n0 of the Element to be considered
//! - : n0 of the Value between 1 and NbResultValues
//! - : n0 of the Layer for this Element
//! - : n0 of the Data Location for this Element
//! This gives for each Element, the corresponding rank
//! computed by ResultRank, in which the leftmost subscript
//! changes most rapidly
Standard_EXPORT Standard_Real ResultData(const Standard_Integer NElem,const Standard_Integer NVal,const Standard_Integer NLay,const Standard_Integer NLoc) const; //! Returns in once the entire list of data for an Element,
//! addressed as by ResultRank (See above)
Standard_EXPORT Handle_TColStd_HArray1OfReal ResultList(const Standard_Integer NElem) const; DEFINE_STANDARD_RTTI(IGESAppli_ElementResults) protected: private: Handle_IGESDimen_GeneralNote theNote; Standard_Integer theSubcaseNumber; Standard_Real theTime; Standard_Integer theNbResultValues; Standard_Integer theResultReportFlag; Handle_TColStd_HArray1OfInteger theElementIdentifiers; Handle_IGESAppli_HArray1OfFiniteElement theElements; Handle_TColStd_HArray1OfInteger theElementTopologyTypes; Handle_TColStd_HArray1OfInteger theNbLayers; Handle_TColStd_HArray1OfInteger theDataLayerFlags; Handle_TColStd_HArray1OfInteger theNbResultDataLocs; Handle_IGESBasic_HArray1OfHArray1OfInteger theResultDataLocs; Handle_IGESBasic_HArray1OfHArray1OfReal theResultData; }; // other Inline functions and methods (like "C++: function call" methods) #endif