OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
alesop.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!|| alesop ../starter/source/ale/alesop.F
25!||--- called by ------------------------------------------------------
26!|| alelec ../starter/source/ale/alelec.F
27!||--- uses -----------------------------------------------------
28!||====================================================================
29 SUBROUTINE alesop(NALE,ALE_NN_CONNECT,ICODE,ITAB)
30C-----------------------------------------------
31C Description
32C-----------------------------------------------
33C This subroutine is writing in Starter listing
34C file the ALE nodal connectivities
35C precondition : IPRI >= 3 (from /IOFLAG Starter option)
36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER, DIMENSION(NUMNOD), INTENT(IN) :: NALE, ICODE, ITAB
48 TYPE(t_connectivity), INTENT(IN) :: ALE_NN_CONNECT
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "com04_c.inc"
53#include "units_c.inc"
54#include "scr03_c.inc"
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER JJ(12), N, IC, IC1, IC2, IC3, IC4, IAD1, IAD2
59C-----------------------------------------------
60C S o u r c e L i n e s
61C-----------------------------------------------
62 IF(ipri >= 3)THEN
63 WRITE(iout,1000)
64 DO n=1,numnod
65 IF(nale(n) /= 0)THEN
66 ic = icode(n)
67 ic1 = ic/512
68 ic2 = (ic-512*ic1)/64
69 ic3 = (ic-512*ic1-64*ic2)/8
70 ic4 = (ic-512*ic1-64*ic2-8*ic3)
71 jj( 1) = ic1/4
72 jj( 2) = (ic1-4*jj(1))/2
73 jj( 3) = (ic1-4*jj(1)-2*jj(2))
74 jj( 4) = ic2/4
75 jj( 5) = (ic2-4*jj(4))/2
76 jj( 6) = (ic2-4*jj(4)-2*jj(5))
77 jj( 7) = ic3/4
78 jj( 8) = (ic3-4*jj(7))/2
79 jj( 9) = (ic3-4*jj(7)-2*jj(8))
80 jj(10) = ic4/4
81 jj(11) = (ic4-4*jj(10))/2
82 jj(12) = (ic4-4*jj(10)-2*jj(11))
83 iad1 = ale_nn_connect%IAD_CONNECT(n)
84 iad2 = ale_nn_connect%IAD_CONNECT(n + 1) - 1
85 WRITE(iout,*)itab(n),jj,itab(ale_nn_connect%CONNECTED(iad1:iad2))
86 ENDIF
87 ENDDO !N=1,NUMNOD
88 ENDIF !IF(IPRI >= 3)
89C-----------------------------------------------
90 RETURN
91C-----------------------------------------------
92 1000 FORMAT(//
93 & ' A.L.E. NODAL CONNECTIVITIES ',/
94 & ' ---------------------------- ',/
95 & ' NODE TRA ROT GRI LAG NODE')
96 END
subroutine alesop(nale, ale_nn_connect, icode, itab)
Definition alesop.F:30