OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_linengr.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine hm_linengr (id, igrslin, tagbuf, titr, nsets, lsubmodel)

Function/Subroutine Documentation

◆ hm_linengr()

subroutine hm_linengr ( integer id,
type (surf_), dimension(nslin+nsets) igrslin,
integer, dimension(*) tagbuf,
character(len=nchartitle) titr,
integer nsets,
type(submodel_data), dimension(*) lsubmodel )

Definition at line 36 of file hm_linengr.F.

37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE message_mod
41 USE groupdef_mod
42 USE submodel_mod
45C-----------------------------------------------
46C I m p l i c i t T y p e s
47C-----------------------------------------------
48#include "implicit_f.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "com04_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER ID,TAGBUF(*),NSETS
57 CHARACTER(LEN=NCHARTITLE) :: TITR
58 TYPE(SUBMODEL_DATA) LSUBMODEL(*)
59C-----------------------------------------------
60 TYPE (SURF_) , DIMENSION(NSLIN+NSETS) :: IGRSLIN
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER J,L,IE,JREC,K,ISU,JJ,LL,N,KK,NENTITY
65 LOGICAL IS_AVAILABLE
66C=======================================================================
67 is_available = .false.
68 CALL hm_get_intv('idsmax' ,nentity,is_available,lsubmodel)
69 DO kk = 1,nentity
70 CALL hm_get_int_array_index ('ids',jj ,kk,is_available,lsubmodel)
71 IF (jj /= 0) THEN
72 isu=0
73 DO k=1,nslin
74 IF (jj == igrslin(k)%ID) isu=k
75 ENDDO
76 IF (isu /= 0) THEN
77 DO ll=1,igrslin(isu)%NSEG
78 DO k=1,2
79 n=igrslin(isu)%NODES(ll,k)
80C tag les noeuds DU SEGMENT
81 IF (n /= 0) tagbuf(n)=1
82 ENDDO
83 ENDDO
84 ELSE
85 CALL ancmsg(msgid=193,
86 . msgtype=msgwarning,
87 . anmode=aninfo,
88 . i1=id,
89 . c1=titr,
90 . i2=jj)
91 ENDIF
92 ENDIF
93 ENDDO
94C-----------
95 RETURN
subroutine hm_get_int_array_index(name, ival, index, is_available, lsubmodel)
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
initmumps id
integer, parameter nchartitle
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889