summaryrefslogtreecommitdiff
path: root/inc/IGESAppli_NodalResults.hxx
blob: bec34be3885ac87144bc05f040116cf0e1bf9acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
// 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_NodalResults_HeaderFile
#define _IGESAppli_NodalResults_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESAppli_NodalResults_HeaderFile
#include <Handle_IGESAppli_NodalResults.hxx>
#endif

#ifndef _Handle_IGESDimen_GeneralNote_HeaderFile
#include <Handle_IGESDimen_GeneralNote.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile
#include <Handle_TColStd_HArray1OfInteger.hxx>
#endif
#ifndef _Handle_IGESAppli_HArray1OfNode_HeaderFile
#include <Handle_IGESAppli_HArray1OfNode.hxx>
#endif
#ifndef _Handle_TColStd_HArray2OfReal_HeaderFile
#include <Handle_TColStd_HArray2OfReal.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_IGESAppli_Node_HeaderFile
#include <Handle_IGESAppli_Node.hxx>
#endif
class IGESDimen_GeneralNote;
class TColStd_HArray1OfInteger;
class IGESAppli_HArray1OfNode;
class TColStd_HArray2OfReal;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class IGESAppli_Node;


//! defines NodalResults, Type <146> <br>
//!          in package IGESAppli <br>
//!          Used to store the Analysis Data results per FEM Node <br>
class IGESAppli_NodalResults : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESAppli_NodalResults();
  //! This method is used to set the fields of the class <br>
//!           NodalResults <br>
//!       - aNote              : General Note that describes the <br>
//!                              analysis case <br>
//!       - aNumber            : Analysis Subcase number <br>
//!       - aTime              : Analysis time <br>
//!       - allNodeIdentifiers : Node identifiers for the nodes <br>
//!       - allNodes           : List of FEM Node Entities <br>
//!       - allData            : Values of the Finite Element analysis <br>
//!                              result data <br>
//! raises exception if Lengths of allNodeIdentifiers, allNodes and <br>
//! allData (Cols) are not same <br>
  Standard_EXPORT     void Init(const Handle(IGESDimen_GeneralNote)& aNote,const Standard_Integer aNumber,const Standard_Real aTime,const Handle(TColStd_HArray1OfInteger)& allNodeIdentifiers,const Handle(IGESAppli_HArray1OfNode)& allNodes,const Handle(TColStd_HArray2OfReal)& allData) ;
  //! Changes the FormNumber (which indicates Type of Result) <br>
//!           Error if not in range [0-34] <br>
  Standard_EXPORT     void SetFormNumber(const Standard_Integer form) ;
  //! returns the General Note Entity that describes the analysis case <br>
  Standard_EXPORT     Handle_IGESDimen_GeneralNote Note() const;
  //! returns zero if there is no subcase <br>
  Standard_EXPORT     Standard_Integer SubCaseNumber() const;
  //! returns the Analysis time value for this subcase. It is the time <br>
//! at which transient analysis results occur in the mathematical <br>
//! FEM model. <br>
  Standard_EXPORT     Standard_Real Time() const;
  //! returns number of real values in array V for a FEM node <br>
  Standard_EXPORT     Standard_Integer NbData() const;
  //! returns number of FEM nodes for which data is to be read. <br>
  Standard_EXPORT     Standard_Integer NbNodes() const;
  //! returns FEM node number identifier for the (Index)th node <br>
//! raises exception if Index <= 0 or Index > NbNodes <br>
  Standard_EXPORT     Standard_Integer NodeIdentifier(const Standard_Integer Index) const;
  //! returns the node as specified by the Index <br>
//! raises exception if Index <= 0 or Index > NbNodes <br>
  Standard_EXPORT     Handle_IGESAppli_Node Node(const Standard_Integer Index) const;
  //! returns the finite element analysis result value <br>
//! raises exception if (NodeNum <= 0 or NodeNum > NbNodes()) or <br>
//! if (DataNum <=0 or DataNum > NbData()) <br>
  Standard_EXPORT     Standard_Real Data(const Standard_Integer NodeNum,const Standard_Integer DataNum) const;




  DEFINE_STANDARD_RTTI(IGESAppli_NodalResults)

protected:




private: 


Handle_IGESDimen_GeneralNote theNote;
Standard_Integer theSubCaseNum;
Standard_Real theTime;
Handle_TColStd_HArray1OfInteger theNodeIdentifiers;
Handle_IGESAppli_HArray1OfNode theNodes;
Handle_TColStd_HArray2OfReal theData;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif