OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
cdkevec3.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| cdkevec3 ../starter/source/elements/sh3n/coquedk/cdkevec3.F
25!||--- called by ------------------------------------------------------
26!|| c3init3 ../starter/source/elements/sh3n/coque3n/c3init3.F
27!|| c3newve3 ../starter/source/elements/sh3n/coque3n/c3epsini.F
28!|| cdkepsini ../starter/source/elements/sh3n/coquedk/cdkepsini.F
29!|| cdkfint_reg_ini ../starter/source/elements/sh3n/coquedk/cdkfint_reg_ini.F
30!|| cdkinit3 ../starter/source/elements/sh3n/coquedk/cdkinit3.F
31!||--- calls -----------------------------------------------------
32!|| clskew3 ../starter/source/elements/shell/coque/clskew.F
33!||====================================================================
34 SUBROUTINE cdkevec3(JFT ,JLT ,AREA,
35 . X1 ,X2 ,X3 ,Y1 ,Y2 ,Y3 ,
36 . Z1 ,Z2 ,Z3 ,E1X ,E2X ,E3X ,
37 . E1Y ,E2Y ,E3Y ,E1Z ,E2Z ,E3Z )
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C G l o b a l P a r a m e t e r s
44C-----------------------------------------------
45#include "mvsiz_p.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER JFT, JLT
50 my_real AREA(MVSIZ),
51 . X1(MVSIZ), X2(MVSIZ), X3(MVSIZ),
52 . y1(mvsiz), y2(mvsiz), y3(mvsiz),
53 . z1(mvsiz), z2(mvsiz), z3(mvsiz),
54 . e1x(mvsiz), e1y(mvsiz), e1z(mvsiz),
55 . e2x(mvsiz), e2y(mvsiz), e2z(mvsiz),
56 . e3x(mvsiz), e3y(mvsiz), e3z(mvsiz)
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER I,I1
61 my_real, DIMENSION(MVSIZ) :: SUM, RX, RY, RZ, SX, SY, SZ
62C=======================================================================
63 DO i=jft,jlt
64 rx(i) = x2(i) - x1(i)
65 ry(i) = y2(i) - y1(i)
66 rz(i) = z2(i) - z1(i)
67 sx(i) = x3(i) - x1(i)
68 sy(i) = y3(i) - y1(i)
69 sz(i) = z3(i) - z1(i)
70 ENDDO
71C----------------------------
72C LOCAL SYSTEM
73C----------------------------
74 i1 = 0
75 CALL clskew3(jft,jlt,i1,
76 . rx, ry, rz, sx, sy, sz,
77 . e1x,e2x,e3x,e1y,e2y,e3y,e1z,e2z,e3z,sum)
78C
79 DO i=jft,jlt
80 area(i) = half*sum(i)
81 ENDDO
82c-----------
83 RETURN
84 END
subroutine cdkevec3(jft, jlt, area, x1, x2, x3, y1, y2, y3, z1, z2, z3, e1x, e2x, e3x, e1y, e2y, e3y, e1z, e2z, e3z)
Definition cdkevec3.F:38
subroutine clskew3(jft, jlt, irep, rx, ry, rz, sx, sy, sz, e1x, e2x, e3x, e1y, e2y, e3y, e1z, e2z, e3z, det)
Definition clskew.F:34