OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
aleso2.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!|| aleso2 ../starter/source/ale/ale2d/aleso2.F
26!||--- called by ------------------------------------------------------
27!|| alelec ../starter/source/ale/alelec.F
28!||--- uses -----------------------------------------------------
29!||====================================================================
30 SUBROUTINE aleso2(ALE_CONNECTIVITY,PM,IXQ,IGEO)
31C-----------------------------------------------
32C D e s c r i p t i o n
33C-----------------------------------------------
34C This subroutine is displaying in Starter listing file
35C element/element connectivities (ALE)
36C specific case of quads (4-node-solid-elems in 2D) : buffer is IXQ contrary to IXTG for triangles
37C Precondition : IPRI >= 3 (/IOFLAG Starter option)
38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46C-----------------------------------------------
47C C o m m o n B l o c k s
48C-----------------------------------------------
49#include "com04_c.inc"
50#include "units_c.inc"
51#include "param_c.inc"
52#include "scr03_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER,INTENT(IN) :: IXQ(7,NUMELQ),IGEO(NPROPGI,NUMGEO)
57 my_real,INTENT(IN) :: pm(npropm,nummat)
58 TYPE(t_ale_connectivity), INTENT(INOUT) :: ALE_CONNECTIVITY
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER IVPR(4), M, IAL, I, IAD1, LGTH
63 INTEGER JALE_FROM_MAT, JALE_FROM_PROP, JTHE_FROM_MAT
64C-----------------------------------------------
65C S o u r c e L i n e s
66C-----------------------------------------------
67 IF(ipri <= 3)THEN
68 WRITE(iout,1200)
69 DO m=1,numelq
70 jthe_from_mat = nint(pm(71,iabs(ixq(1,m)))) !/HEAT/MAT
71 jale_from_mat = nint(pm(72,iabs(ixq(1,m)))) !/EULER/MAT or /ALE/MAT
72 jale_from_prop = igeo(62,iabs(ixq(6,m))) !/PROP/TYPE14 (IALE_FLAG)
73 ial = jthe_from_mat + jale_from_mat + jale_from_prop
74 IF(ial == 0)cycle
75 iad1 = ale_connectivity%ee_connect%iad_connect(m)
76 lgth = ale_connectivity%ee_connect%iad_connect(m+1)-ale_connectivity%ee_connect%iad_connect(m)
77 DO i=1,lgth
78 ivpr(i)=ale_connectivity%ee_connect%connected(iad1 + i - 1)
79 IF(ivpr(i) /= 0)ivpr(i)=ixq(7,ivpr(i))
80 ENDDO
81 WRITE(iout,'(5i10)')IXQ(7,M),(IVPR(I),I=1,4)
82 ENDDO
83 ENDIF
84C-----------------------------------------------
85 RETURN
86C-----------------------------------------------
87 1200 FORMAT(//
88 & 6X,'a.l.e. element connectivities ',/
89 & 6X,'------------------------------ ',/
90 & 6X,'elem ele1 ele2 ele3 ele4 ')
91 END
subroutine aleso2(ale_connectivity, pm, ixq, igeo)
Definition aleso2.F:31
#define my_real
Definition cppsort.cpp:32