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 Connectivities element/element (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-----------------------------------------------
41 use element_mod , only : nixtg
42CC-----------------------------------------------
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) :: IXTG(NIXTG, NUMELTG),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 :: JTHE_FROM_MAT, JALE_FROM_MAT, JALE_FROM_PROP
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,numeltg
70 jthe_from_mat = nint(pm(71,iabs(ixtg(1,m)))) !/HEAT/MAT
71 jale_from_mat = nint(pm(72,iabs(ixtg(1,m)))) !/EULER/MAT or /ALE/MAT
72 jale_from_prop = igeo(62,iabs(ixtg(5,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,3
78 ivpr(i)=ale_connectivity%ee_connect%connected(iad1 + i - 1)
79 IF(ivpr(i) /= 0)ivpr(i)=ixtg(nixtg,ivpr(i))
80 ENDDO
81 WRITE(iout,'(5I10)')ixtg(nixtg,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 ')
#define my_real
Definition cppsort.cpp:32