OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_preread_imptemp.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!|| hm_preread_imptemp ../starter/source/constraints/thermic/hm_preread_imptemp.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.F
29!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.F
30!|| hm_option_read_key ../starter/source/devtools/hm_reader/hm_option_read_key.F
31!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
32!|| ngr2usrn ../starter/source/system/nintrr.F
33!||--- uses -----------------------------------------------------
34!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
35!|| message_mod ../starter/share/message_module/message_mod.F
36!|| submodel_mod ../starter/share/modules1/submodel_mod.F
37!||====================================================================
38 SUBROUTINE hm_preread_imptemp(IGRSURF,IGRNOD,IGRBRIC,UNITAB,LSUBMODEL,
39 . NIMTEMP,NFXTEMP)
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
129 END SUBROUTINE hm_preread_imptemp
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
subroutine hm_preread_imptemp(igrsurf, igrnod, igrbric, unitab, lsubmodel, nimtemp, nfxtemp)
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