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

Go to the source code of this file.

Functions/Subroutines

subroutine preread_rbody_set (lsubmodel, itabm1, rby_msn)

Function/Subroutine Documentation

◆ preread_rbody_set()

subroutine preread_rbody_set ( type(submodel_data), dimension(*), intent(in) lsubmodel,
integer, dimension(*) itabm1,
integer, dimension(2,*) rby_msn )

Definition at line 37 of file preread_rbody_set.F.

38C-------------------------------------
39C PRE LECTURE STRUCTURE RIGIDES POUR /SETS
40C-----------------------------------------------
41C M o d u l e s
42C-----------------------------------------------
43 USE message_mod
44 USE submodel_mod
47C-----------------------------------------------
48C I m p l i c i t T y p e s
49C-----------------------------------------------
50#include "implicit_f.inc"
51C-----------------------------------------------
52C C o m m o n B l o c k s
53C-----------------------------------------------
54#include "com04_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 INTEGER ITABM1(*),RBY_MSN(2,*)
59C-----------------------------------------------
60 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER NRB,NOD,ID,NODSYS
65 CHARACTER(LEN=NCHARTITLE) :: TITR
66 CHARACTER(LEN=NCHARKEY) :: KEY
67 LOGICAL IS_AVAILABLE
68 DATA mess/'RIGID BODY DEFINITION '/
69 CHARACTER MESS*40
70C-----------------------------------------------
71C E x t e r n a l F u n c t i o n s
72C-----------------------------------------------
73 INTEGER USR2SYS
74 EXTERNAL usr2sys
75C-----------------------------------------------
76!
77C--------------------------------------------------
78C START BROWSING MODEL RBODY
79C--------------------------------------------------
80 is_available = .false.
81 CALL hm_option_start('/RBODY')
82!
83 DO nrb=1,nrbody
84C--------------------------------------------------
85C EXTRACT DATA OF /RBODY/... LINE
86C--------------------------------------------------
87 CALL hm_option_read_key(lsubmodel,
88 . option_id = id,
89 . option_titr = titr,
90 . keyword2 = key)
91!
92 rby_msn(1,nrb) = id
93!
94 IF(key/='') cycle ! /RBODY/LAGMUL
95!
96 CALL hm_get_intv('node_ID',nod,is_available,lsubmodel)
97!
98 nodsys = usr2sys(nod,itabm1,mess,id)
99C +++
100! print*,'MIRC RBODY NODE',ITABM1(NODSYS)
101C ---
102 rby_msn(2,nrb) = nodsys
103 ENDDO ! DO N=1,NRBYKIN
104!---
105 RETURN
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
initmumps id
integer, parameter nchartitle
integer, parameter ncharkey
integer function usr2sys(iu, itabm1, mess, id)
Definition sysfus.F:160