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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_option_read (id, uid, sub_index, titr, lsubmodel)

Function/Subroutine Documentation

◆ hm_option_read()

subroutine hm_option_read ( integer, intent(out) id,
integer, intent(out) uid,
integer, intent(out) sub_index,
character*(*), intent(out) titr,
type(submodel_data), dimension(nsubmod), intent(in) lsubmodel )

Definition at line 30 of file hm_option_read.F.

31C-----------------------------------------------
32C ROUTINE DESCRIPTION :
33C ===================
34C REQUEST DATA INTO MODEL NEUTRAL OBJECT DATABASE USING HM_READER
35C IN CARD :
36C /OPTION/ID/UID
37C TITR
38C-----------------------------------------------
39C DUMMY ARGUMENTS DESCRIPTION:
40C ===================
41C
42C NAME DESCRIPTION
43C
44C ID ID OF THE OPTION
45C UID UNIT ID OF THE OPTION
46C SUB_INDEX SUBMODEL INDEX OF THE OPTION
47C TITR TITLE OF THE OPTION
48C LSUBMODEL SUBMODEL STRUCTURE
49C============================================================================
50C M o d u l e s
51C-----------------------------------------------
52 USE message_mod
55C-----------------------------------------------
56C I m p l i c i t T y p e s
57C-----------------------------------------------
58#include "implicit_f.inc"
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
62C INPUT ARGUMENTS
63 TYPE(SUBMODEL_DATA),INTENT(IN) :: LSUBMODEL(NSUBMOD)
64C OUTPUT ARGUMENTS
65 INTEGER,INTENT(OUT) :: ID
66 INTEGER,INTENT(OUT) :: UID
67 INTEGER,INTENT(OUT) :: SUB_INDEX
68 CHARACTER*(*),INTENT(OUT) :: TITR
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 INTEGER OFFSET_CATEGORY,S_KEYWORD,S_TITR_TMP,POS
73 CHARACTER(LEN=NCHARLINE) :: KEYWORD,TITR_TMP
74C-----------------------------------------------
75C E x t e r n a l F u n c t i o n s
76C-----------------------------------------------
77C=======================================================================
78 id = 0
79 sub_index = 0
80 pos=0
81C--------------------------------------------------
82 CALL cpp_option_read(id,uid,sub_index,keyword,s_keyword,titr_tmp,s_titr_tmp,offset_category,pos)
83C--------------------------------------------------
84 titr(1:s_titr_tmp) = titr_tmp(1:s_titr_tmp)
85
86 IF(sub_index /= 0 )THEN
87 IF(lsubmodel(sub_index)%UID /= 0)THEN
88 uid = lsubmodel(sub_index)%UID
89 ENDIF
90 ENDIF
91C--------------------------------------------------
92 RETURN
93C
initmumps id
integer, parameter ncharline
integer nsubmod