# DataExchange
TKIGES
IGESAppli

# IGESAppli_ElementResults Class Reference

defines ElementResults, Type <148>
in package IGESAppli
Used to find the results of FEM analysis

`#include <IGESAppli_ElementResults.hxx>`

Inheritance diagram for IGESAppli_ElementResults:

[legend]

## Public Member Functions

Standard_EXPORT | IGESAppli_ElementResults ()

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)

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 | SetFormNumber (const Standard_Integer form)
| Changes the FormNumber (which indicates Type of Result) Error if not in range [0-34] .
Standard_EXPORT Handle_IGESDimen_GeneralNote | Note () const
| returns General Note Entity describing analysis case
Standard_EXPORT Standard_Integer | SubCaseNumber () const
| returns analysis Subcase number
Standard_EXPORT Standard_Real | Time () const
| returns analysis time value
Standard_EXPORT Standard_Integer | NbResultValues () const
| returns number of result values per FEM
Standard_EXPORT Standard_Integer | ResultReportFlag () const
| returns Results Reporting Flag
Standard_EXPORT Standard_Integer | NbElements () const
| returns number of FEM elements
Standard_EXPORT Standard_Integer | ElementIdentifier (const Standard_Integer Index) const
| returns FEM element number for elements
Standard_EXPORT Handle_IGESAppli_FiniteElement | Element (const Standard_Integer Index) const
| returns FEM element
Standard_EXPORT Standard_Integer | ElementTopologyType (const Standard_Integer Index) const
| returns element Topology Types
Standard_EXPORT Standard_Integer | NbLayers (const Standard_Integer Index) const
| returns number of layers per result data location
Standard_EXPORT Standard_Integer | DataLayerFlag (const Standard_Integer Index) const
| returns Data Layer Flags
Standard_EXPORT Standard_Integer | NbResultDataLocs (const Standard_Integer Index) const
| returns number of result data report locations
Standard_EXPORT Standard_Integer | ResultDataLoc (const Standard_Integer NElem, const Standard_Integer NLoc) const
| returns Result Data Report Locations UNFINISHED
Standard_EXPORT Standard_Integer | NbResults (const Standard_Integer Index) const
| returns total number of results
Standard_EXPORT Standard_Real | ResultData (const Standard_Integer NElem, const Standard_Integer num) const
| returns Result data value for an Element, given its order between 1 and <NbResults(NElem)> (direct access) For a more comprehensive access, see below
Standard_EXPORT Standard_Integer | ResultRank (const Standard_Integer NElem, const Standard_Integer NVal, const Standard_Integer NLay, const Standard_Integer NLoc) const
| Computes, for a given Element <nelem>, the rank of a individual Result Data, given <nval>,<nlay>,<nloc> .
Standard_EXPORT Standard_Real | ResultData (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 :
- <nelem> : n0 of the Element to be considered
- <nval> : n0 of the Value between 1 and NbResultValues
- <nlay> : n0 of the Layer for this Element
- <nloc> : 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 Handle_TColStd_HArray1OfReal | ResultList (const Standard_Integer NElem) const
| Returns in once the entire list of data for an Element, addressed as by ResultRank (See above) .
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Attributes

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

## Constructor & Destructor Documentation

Standard_EXPORT IGESAppli_ElementResults::IGESAppli_ElementResults | ( |  | ) |

## Member Function Documentation

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::DataLayerFlag | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Handle_IGESAppli_FiniteElement IGESAppli_ElementResults::Element | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::ElementIdentifier | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::ElementTopologyType | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT const IGESAppli_ElementResults::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from IGESData_IGESEntity.

Standard_EXPORT void IGESAppli_ElementResults::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
| ) |

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::NbElements | ( |  | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::NbLayers | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::NbResultDataLocs | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::NbResults | ( | const Standard_Integer | Index | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::NbResultValues | ( |  | ) | const

Standard_EXPORT Handle_IGESDimen_GeneralNote IGESAppli_ElementResults::Note | ( |  | ) | const

Standard_EXPORT Standard_Real IGESAppli_ElementResults::ResultData | ( | const Standard_Integer | NElem,
|  | const Standard_Integer | NVal,
|  | const Standard_Integer | NLay,
|  | const Standard_Integer | NLoc
| ) | const

Standard_EXPORT Standard_Real IGESAppli_ElementResults::ResultData | ( | const Standard_Integer | NElem,
|  | const Standard_Integer | num
| ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::ResultDataLoc | ( | const Standard_Integer | NElem,
|  | const Standard_Integer | NLoc
| ) | const

Standard_EXPORT Handle_TColStd_HArray1OfReal IGESAppli_ElementResults::ResultList | ( | const Standard_Integer | NElem | ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::ResultRank | ( | const Standard_Integer | NElem,
|  | const Standard_Integer | NVal,
|  | const Standard_Integer | NLay,
|  | const Standard_Integer | NLoc
| ) | const

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::ResultReportFlag | ( |  | ) | const

Standard_EXPORT void IGESAppli_ElementResults::SetFormNumber | ( | const Standard_Integer | form | ) |

Standard_EXPORT Standard_Integer IGESAppli_ElementResults::SubCaseNumber | ( |  | ) | const

Standard_EXPORT Standard_Real IGESAppli_ElementResults::Time | ( |  | ) | const

## Field Documentation

Handle_TColStd_HArray1OfInteger IGESAppli_ElementResults::theDataLayerFlags`[private]`

Handle_TColStd_HArray1OfInteger IGESAppli_ElementResults::theElementIdentifiers`[private]`

Handle_IGESAppli_HArray1OfFiniteElement IGESAppli_ElementResults::theElements`[private]`

Handle_TColStd_HArray1OfInteger IGESAppli_ElementResults::theElementTopologyTypes`[private]`

Handle_TColStd_HArray1OfInteger IGESAppli_ElementResults::theNbLayers`[private]`

Handle_TColStd_HArray1OfInteger IGESAppli_ElementResults::theNbResultDataLocs`[private]`

Standard_Integer IGESAppli_ElementResults::theNbResultValues`[private]`

Handle_IGESDimen_GeneralNote IGESAppli_ElementResults::theNote`[private]`

Handle_IGESBasic_HArray1OfHArray1OfReal IGESAppli_ElementResults::theResultData`[private]`

Handle_IGESBasic_HArray1OfHArray1OfInteger IGESAppli_ElementResults::theResultDataLocs`[private]`

Standard_Integer IGESAppli_ElementResults::theResultReportFlag`[private]`

Standard_Integer IGESAppli_ElementResults::theSubcaseNumber`[private]`

Standard_Real IGESAppli_ElementResults::theTime`[private]`

The documentation for this class was generated from the following file:

- IGESAppli_ElementResults.hxx