0024624: Lost word in license statement in source files
[occt.git] / src / IGESAppli / IGESAppli_NodalResults.cdl
CommitLineData
b311480e 1-- Created on: 1993-01-11
2-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
3-- Copyright (c) 1993-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
7fd59977 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
7fd59977 7--
d5f74e42 8-- This library is free software; you can redistribute it and/or modify it under
9-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 10-- by the Free Software Foundation, with special exception defined in the file
11-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12-- distribution for complete text of the license and disclaimer of any warranty.
7fd59977 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class NodalResults from IGESAppli inherits IGESEntity
18
19
20 ---Purpose: defines NodalResults, Type <146>
21 -- in package IGESAppli
22 -- Used to store the Analysis Data results per FEM Node
23
24uses
25
26 HArray1OfReal from TColStd,
27 HArray1OfInteger from TColStd,
28 Node from IGESAppli,
29 HArray1OfNode from IGESAppli,
30 GeneralNote from IGESDimen,
31 HArray2OfReal from TColStd
32
33raises DimensionMismatch, OutOfRange
34
35is
36
37 Create returns mutable NodalResults;
38
39 -- Specific Methods pertaining to the class
40
41 Init (me : mutable;
42 aNote : GeneralNote;
43 aNumber : Integer;
44 aTime : Real;
45 allNodeIdentifiers: HArray1OfInteger;
46 allNodes : HArray1OfNode;
47 allData : HArray2OfReal)
48 raises DimensionMismatch;
49 ---Purpose : This method is used to set the fields of the class
50 -- NodalResults
51 -- - aNote : General Note that describes the
52 -- analysis case
53 -- - aNumber : Analysis Subcase number
54 -- - aTime : Analysis time
55 -- - allNodeIdentifiers : Node identifiers for the nodes
56 -- - allNodes : List of FEM Node Entities
57 -- - allData : Values of the Finite Element analysis
58 -- result data
59 -- raises exception if Lengths of allNodeIdentifiers, allNodes and
60 -- allData (Cols) are not same
61
62 SetFormNumber (me : mutable; form : Integer) raises OutOfRange;
63 ---Purpose : Changes the FormNumber (which indicates Type of Result)
64 -- Error if not in range [0-34]
65
66
67 Note (me) returns GeneralNote;
68 ---Purpose : returns the General Note Entity that describes the analysis case
69
70 SubCaseNumber (me) returns Integer;
71 ---Purpose : returns zero if there is no subcase
72
73 Time (me) returns Real;
74 ---Purpose : returns the Analysis time value for this subcase. It is the time
75 -- at which transient analysis results occur in the mathematical
76 -- FEM model.
77
78 NbData (me) returns Integer;
79 ---Purpose : returns number of real values in array V for a FEM node
80
81 NbNodes (me) returns Integer;
82 ---Purpose : returns number of FEM nodes for which data is to be read.
83
84 NodeIdentifier (me; Index : Integer) returns Integer
85 raises OutOfRange;
86 ---Purpose : returns FEM node number identifier for the (Index)th node
87 -- raises exception if Index <= 0 or Index > NbNodes
88
89 Node (me; Index : Integer) returns Node
90 raises OutOfRange;
91 ---Purpose : returns the node as specified by the Index
92 -- raises exception if Index <= 0 or Index > NbNodes
93
94 Data (me; NodeNum, DataNum : Integer) returns Real
95 raises OutOfRange;
96 ---Purpose : returns the finite element analysis result value
97 -- raises exception if (NodeNum <= 0 or NodeNum > NbNodes()) or
98 -- if (DataNum <=0 or DataNum > NbData())
99
100fields
101
102--
103-- Class : IGESAppli_NodalResults
104--
105-- Purpose : Declaration of variables specific to the definition
106-- of the Class NodalResults.
107--
108-- Reminder : A NodalResults instance is defined by :
109-- - General Note that describes the analysis case
110-- - Analysis Subcase number
111-- - Analysis time
112-- - Node identifiers for the nodes
113-- - List of FEM Node Entities
114-- - Values of the Finite Element analysis result data
115
116 theNote : GeneralNote;
117 theSubCaseNum : Integer;
118 theTime : Real;
119 theNodeIdentifiers : HArray1OfInteger;
120 theNodes : HArray1OfNode;
121 theData : HArray2OfReal;
122
123end NodalResults;