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

Go to the source code of this file.

Functions/Subroutines

subroutine preleclas (num, numr, lsubmodel)

Function/Subroutine Documentation

◆ preleclas()

subroutine preleclas ( integer num,
integer numr,
type(submodel_data), dimension(*), intent(in) lsubmodel )

Definition at line 35 of file lpreleclas.F.

36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE submodel_mod
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46C-----------------------------------------------
47C C o m m o n B l o c k s
48C-----------------------------------------------
49#include "com04_c.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER NUM,NUMR
54 TYPE(SUBMODEL_DATA),INTENT(IN) ::LSUBMODEL(*)
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER :: I,ID,NL,UID
59 CHARACTER(LEN=NCHARKEY) :: KEY,KEY2
60 CHARACTER(LEN=NCHARTITLE) :: TITR
61 LOGICAL IS_AVAILABLE
62C-----------------------------------------------
63C S o u r c e L i n e s
64C-----------------------------------------------
65 num = 0
66 numr = 0
67
68 CALL hm_option_start('/DFS/LASER')
69
70 DO i=1,nlaser
71
72 CALL hm_option_read_key(lsubmodel,
73 . option_id = id,
74 . option_titr = titr ,
75 . unit_id = uid ,
76 . keyword2 = key )
77
78 CALL hm_get_intv ('np' ,NL ,IS_AVAILABLE, LSUBMODEL)
79 NUM = NUM + 6 + 2*(NL+1)
80 NUMR = NUMR + 7
81
82
83 ENDDO
84C----
85 RETURN
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
initmumps id
integer, parameter nchartitle
integer, parameter ncharkey