OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
tcoor3.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!|| tcoor3 ../engine/source/elements/truss/tcoor3.F
25!||--- called by ------------------------------------------------------
26!|| tforc3 ../engine/source/elements/truss/tforc3.F
27!||====================================================================
28 SUBROUTINE tcoor3(
29 1 X, NCC, MAT, MGM,
30 2 NGL, NC1, NC2, X1,
31 3 X2, Y1, Y2, Z1,
32 4 Z2, NEL)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C C o m m o n B l o c k s
43C-----------------------------------------------
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, INTENT(IN) :: NEL
48 INTEGER MAT(MVSIZ),MGM(MVSIZ),NGL(MVSIZ),NC1(MVSIZ),NC2(MVSIZ)
49 INTEGER,INTENT(IN) :: NCC(5,*)
50 my_real,INTENT(IN) :: X(3,*)
51 my_real
52 . x1(mvsiz),x2(mvsiz),y1(mvsiz),y2(mvsiz),z1(mvsiz),z2(mvsiz)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER I, J
57C-----------------------------------------------
58 DO I=1,nel
59 ngl(i) = ncc(5,i)
60 mat(i) = ncc(1,i)
61 nc1(i) = ncc(2,i)
62 nc2(i) = ncc(3,i)
63 mgm(i) = ncc(4,i)
64 ENDDO
65C----------------------------
66C COORDONNEES
67C----------------------------
68 DO i=1,nel
69 x1(i) = x(1,nc1(i))
70 y1(i) = x(2,nc1(i))
71 z1(i) = x(3,nc1(i))
72 x2(i) = x(1,nc2(i))
73 y2(i) = x(2,nc2(i))
74 z2(i) = x(3,nc2(i))
75 ENDDO
76C-----------
77 RETURN
78 END
subroutine tcoor3(x, ncc, mat, mgm, ngl, nc1, nc2, x1, x2, y1, y2, z1, z2, nel)
Definition tcoor3.F:33