OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
tcoori.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/.
23C
24!||====================================================================
25!|| tcoori ../starter/source/elements/truss/tcoori.F
26!||--- called by ------------------------------------------------------
27!|| inivoid ../starter/source/elements/initia/inivoid.F
28!|| tinit3 ../starter/source/elements/truss/tinit3.F
29!||====================================================================
30 SUBROUTINE tcoori(X,NCP,MXT, MXG, NC1, NC2,
31 . X1, X2, Y1, Y2, Z1, Z2)
32C
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "vect01_c.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER NCP(5,*), MXT(*), MXG(*), NC1(*), NC2(*)
46 . x(3,*), x1(*), x2(*), y1(*), y2(*), z1(*), z2(*)
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER I
52 . xnor
53C--------------------------------------------------
54C CONNECTIVITES ET MATERIEL |
55C--------------------------------------------------
56 DO i=lft,llt
57 mxt(i)=ncp(1,i)
58 nc1(i)=ncp(2,i)
59 nc2(i)=ncp(3,i)
60 mxg(i)=ncp(4,i)
61 END DO
62C
63C----------------------------
64C COORDONNEES |
65C----------------------------
66 DO i=lft,llt
67 x1(i)=x(1,nc1(i))
68 y1(i)=x(2,nc1(i))
69 z1(i)=x(3,nc1(i))
70 x2(i)=x(1,nc2(i))
71 y2(i)=x(2,nc2(i))
72 z2(i)=x(3,nc2(i))
73 END DO
74
75 RETURN
76 END
#define my_real
Definition cppsort.cpp:32
subroutine tcoori(x, ncp, mxt, mxg, nc1, nc2, x1, x2, y1, y2, z1, z2)
Definition tcoori.F:32