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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_preread_imptemp (igrsurf, igrnod, igrbric, unitab, lsubmodel, nimtemp, nfxtemp)

Function/Subroutine Documentation

◆ hm_preread_imptemp()

subroutine hm_preread_imptemp ( type (surf_), dimension(nsurf) igrsurf,
type (group_), dimension(ngrnod) igrnod,
type (group_), dimension(ngrbric) igrbric,
type (unit_type_), intent(in) unitab,
type(submodel_data), dimension(*), intent(in) lsubmodel,
integer, intent(in) nimtemp,
integer, intent(inout) nfxtemp )

Definition at line 38 of file hm_preread_imptemp.F.

40C-----------------------------------------------
41C M o d u l e s
42C-----------------------------------------------
43 USE unitab_mod
44 USE message_mod
45 USE groupdef_mod
46 USE submodel_mod
49C-----------------------------------------------
50C I m p l i c i t T y p e s
51C-----------------------------------------------
52#include "implicit_f.inc"
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56#include "com04_c.inc"
57C-----------------------------------------------
58C D u m m y A r g u m e n t s
59C-----------------------------------------------
60 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
61 TYPE (GROUP_) , DIMENSION(NGRNOD) :: IGRNOD
62 TYPE (GROUP_) , DIMENSION(NGRBRIC) :: IGRBRIC
63 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
64 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER I,J,NLD,IGU,IGS,ISU,ISS,NN,ID,UID,
69 . IFU,ISENS,NCUR,IGBR,IBID
70 INTEGER FLAG_FMT,FLAG_FMT_TMP,IFIX_TMP
71 INTEGER ,INTENT(IN) :: NIMTEMP
72 INTEGER ,INTENT(INOUT) :: NFXTEMP
73 CHARACTER(LEN=NCHARTITLE) :: TITR
74 LOGICAL IS_AVAILABLE
75C-----------------------------------------------
76C E x t e r n a l F u n c t i o n s
77C-----------------------------------------------
78 INTEGER NGR2USRN
80 . facx,facy,h,fac1,fac2
81C=======================================================================
82 is_available = .false.
83 nfxtemp = 0
84 igs = 0
85C--------------------------------------------------
86C START BROWSING MODEL IMPTEMP
87C--------------------------------------------------
88 CALL hm_option_start('/IMPTEMP')
89C--------------------------------------------------
90C BROWSING /IMPTEMP OPTIONS 1->NIMTEMP
91C--------------------------------------------------
92 DO i=1,nimtemp
93 titr = ''
94 CALL hm_option_read_key(lsubmodel,
95 . option_id = id,
96 . option_titr = titr)
97C--------------------------------------------------
98C EXTRACT DATAS (INTEGER VALUES)
99C--------------------------------------------------
100 CALL hm_get_intv('curveid',igu,is_available,lsubmodel)
101 CALL hm_get_intv('entityid',igu,is_available,lsubmodel)
102 IF (igu == 0)THEN
103 CALL ancmsg(msgid=668,
104 . msgtype=msgerror,
105 . anmode=aninfo,
106 . c1='/IMPTEMP',
107 . c2='/IMPTEMP',
108 . c3=titr,
109 . i1=id)
110 ENDIF
111 DO j=1,ngrnod
112 IF (igu == igrnod(j)%ID) igs=j
113 ENDDO
114 nn = 0
115 IF(igs /= 0)THEN
116 nn=igrnod(igs)%NENTITY
117 ELSE
118 CALL ancmsg(msgid=53,
119 . msgtype=msgerror,
120 . anmode=aninfo,
121 . c1='IN /IMPTEM OPTION',
122 . i1=igu)
123 ENDIF
124 nfxtemp = nfxtemp + nn
125 ENDDO
126C
127C---
128 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
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