b311480e |
1 | -- Created on: 1997-09-18 |
2 | -- Created by: Philippe MANGIN |
3 | -- Copyright (c) 1997-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
973c2be1 |
8 | -- This library is free software; you can redistribute it and / or modify it |
9 | -- under the terms of the GNU Lesser General Public version 2.1 as published |
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. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | class LinearTension from FEmTool inherits ElementaryCriterion from FEmTool |
18 | |
19 | ---Purpose: Criterium of LinearTension To Hermit-Jacobi elements |
20 | |
21 | uses |
22 | Vector from math, |
23 | Matrix from math, |
24 | Shape from GeomAbs, |
25 | HArray2OfReal from TColStd, |
26 | HArray2OfInteger from TColStd |
27 | |
28 | raises |
29 | NotImplemented, |
30 | DomainError |
31 | |
32 | is |
33 | Create(WorkDegree : Integer ; |
34 | ConstraintOrder : Shape from GeomAbs) |
35 | returns LinearTension from FEmTool; |
36 | |
37 | DependenceTable(me) |
38 | returns HArray2OfInteger from TColStd |
39 | is redefined; |
40 | |
41 | Value (me : mutable) |
42 | returns Real is redefined; |
43 | |
44 | Hessian(me : mutable ; |
45 | Dimension1 : Integer; |
46 | Dimension2 : Integer; |
47 | H : out Matrix from math) |
48 | raises DomainError -- If DependenceTable(Dimension1,Dimension2) is False |
49 | is redefined; |
50 | |
51 | Gradient(me : mutable; |
52 | Dimension : Integer; |
53 | G : out Vector from math) |
54 | is redefined; |
55 | |
56 | fields |
57 | RefMatrix : Matrix from math; |
58 | myOrder : Integer; |
59 | end LinearTension; |