OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
aleso2t.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "units_c.inc"
#include "param_c.inc"
#include "scr03_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine aleso2t (ale_connectivity, pm, ixtg, igeo)

Function/Subroutine Documentation

◆ aleso2t()

subroutine aleso2t ( type(t_ale_connectivity), intent(inout) ale_connectivity,
dimension(npropm, nummat), intent(in) pm,
integer, dimension(nixtg, numeltg), intent(in) ixtg,
integer, dimension(npropgi,numgeo), intent(in) igeo )

Definition at line 29 of file aleso2t.F.

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 ')
#define my_real
Definition cppsort.cpp:32