OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_prop02.F File Reference
#include "implicit_f.inc"
#include "units_c.inc"
#include "tablen_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine hm_read_prop02 (igtyp, ig, igeo, geo, prop_tag, unitab, idtitl, lsubmodel)

Function/Subroutine Documentation

◆ hm_read_prop02()

subroutine hm_read_prop02 ( integer igtyp,
integer ig,
integer, dimension(*) igeo,
geo,
type(prop_tag_), dimension(0:maxprop) prop_tag,
type (unit_type_), intent(in) unitab,
character(len=nchartitle) idtitl,
type(submodel_data), dimension(*) lsubmodel )

Definition at line 35 of file hm_read_prop02.F.

37C============================================================================
38C M o d u l e s
39C-----------------------------------------------
40 USE unitab_mod
41 USE elbuftag_mod
42 USE submodel_mod
43 USE message_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 "units_c.inc"
53#include "tablen_c.inc"
54C-----------------------------------------------
55C D u m m y A r g u m e n t s
56C-----------------------------------------------
57 TYPE (UNIT_TYPE_),INTENT(IN) ::UNITAB
58 INTEGER
59 . IGTYP , IGEO(*)
60 my_real geo(*)
61
62 CHARACTER(LEN=NCHARTITLE)::IDTITL
63
64 TYPE(PROP_TAG_) , DIMENSION(0:MAXPROP) :: PROP_TAG
65 TYPE(SUBMODEL_DATA) LSUBMODEL(*)
66C-----------------------------------------------
67C L o c a l V a r i a b l e s
68C-----------------------------------------------
69 INTEGER IG
70
72 . pun,gap
73 LOGICAL IS_AVAILABLE, IS_ENCRYPTED
74C-----------------------------------------------
75C E x t e r n a l F u n c t i o n s
76C-----------------------------------------------
77 DATA pun/0.1/
78C=======================================================================
79C------------------------
80C TRUSS PROPERTY
81C------------------------
82C=======================================================================
83
84 is_encrypted = .false.
85 is_available = .false.
86
87C Double stockage temporaire - supprimer GEO(12,I)=IGTYP apres tests
88 igeo( 1)=ig
89 igeo(11)=igtyp
90 geo(12) =igtyp+pun
91
92 CALL hm_get_floatv('AREA',geo(1),is_available,lsubmodel,unitab)
93 CALL hm_get_floatv('GAP',gap,is_available,lsubmodel,unitab)
94 geo(2) = max(zero,gap)
95
96 IF(.NOT. is_encrypted)THEN
97 WRITE(iout,1200)ig,geo(1),geo(2)
98 ELSE
99 WRITE(iout,1299)ig
100 ENDIF
101
102 IF (geo(1)<=zero) THEN
103 CALL ancmsg(msgid=497,
104 . msgtype=msgerror,
105 . anmode=aninfo_blind_1,
106 . i1=ig,
107 . c1=idtitl,
108 . r1=geo(1))
109 ENDIF
110
111
112 prop_tag(igtyp)%G_FOR = 1
113 prop_tag(igtyp)%G_EINT = 1
114 prop_tag(igtyp)%G_LENGTH = 1 ! total length
115 prop_tag(igtyp)%G_AREA = 1
116 prop_tag(igtyp)%G_STRA = 1
117
118C-----------
119 RETURN
120C-----------
121 1200 FORMAT(
122 & 5x,'TRUSS PROPERTY SET'/,
123 & 5x,'PROPERTY SET NUMBER . . . . . . . . . .=',i10/,
124 & 5x,'TRUSS AREA. . . . . . . . . . . . . . .=',1pg20.13/,
125 & 5x,'TRUSS INITIAL GAP . . . . . . . . . . .=',1pg20.13//)
126 1299 FORMAT(
127 & 5x,'TRUSS PROPERTY SET'/,
128 & 5x,'PROPERTY SET NUMBER . . . . . . . . . .=',i10/,
129 & 5x,'CONFIDENTIAL DATA'//)
130C-----------
131
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_floatv(name, rval, is_available, lsubmodel, unitab)
#define max(a, b)
Definition macros.h:21
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:895