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