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