OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
qcoor2.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!|| qcoor2 ../engine/source/elements/solid_2d/quad/qcoor2.F
25!||--- called by ------------------------------------------------------
26!|| bforc2 ../engine/source/ale/bimat/bforc2.F
27!|| q4ke2 ../engine/source/elements/solid_2d/quad4/q4ke2.F
28!|| qforc2 ../engine/source/elements/solid_2d/quad/qforc2.F
29!||====================================================================
30 SUBROUTINE qcoor2(
31 1 X, NCP, Y1, Y2,
32 2 Y3, Y4, Z1, Z2,
33 3 Z3, Z4, NC1, NC2,
34 4 NC3, NC4, NGL, MAT,
35 5 NGEO, VD2, VIS, NEL)
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER, INTENT(IN) :: NEL
44 INTEGER NC1(*), NC2(*), NC3(*), NC4(*), MAT(*), NGL(*), NGEO(*),NCP(7,*)
45 my_real X(3,*),Y1(*),Y2(*),Y3(*),Y4(*),Z1(*),Z2(*),Z3(*),Z4(*),VD2(*),VIS(*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 INTEGER I
50C-----------------------------------------------
51C S o u r c e L i n e s
52C-----------------------------------------------
53 DO i=1,nel
54 ngeo(i)=ncp(6,i)
55 ngl(i)=ncp(7,i)
56 mat(i)=ncp(1,i)
57 nc1(i)=ncp(2,i)
58 nc2(i)=ncp(3,i)
59 nc3(i)=ncp(4,i)
60 nc4(i)=ncp(5,i)
61 ENDDO
62C----------------------------
63C NODE COORDINATES
64C----------------------------
65 DO i=1,nel
66 y1(i)=x(2,nc1(i))
67 z1(i)=x(3,nc1(i))
68 y2(i)=x(2,nc2(i))
69 z2(i)=x(3,nc2(i))
70 y3(i)=x(2,nc3(i))
71 z3(i)=x(3,nc3(i))
72 y4(i)=x(2,nc4(i))
73 z4(i)=x(3,nc4(i))
74 END DO
75C----------------------------
76 DO i=1,nel
77 vd2(i)=zero
78 vis(i)=zero
79 ENDDO
80C----------------------------
81 RETURN
82 END
subroutine qcoor2(x, ncp, y1, y2, y3, y4, z1, z2, z3, z4, nc1, nc2, nc3, nc4, ngl, mat, ngeo, vd2, vis, nel)
Definition qcoor2.F:36