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

Go to the source code of this file.

Functions/Subroutines

subroutine leclas1 (nl, las, nc, lsubmodel)

Function/Subroutine Documentation

◆ leclas1()

subroutine leclas1 ( integer, intent(in) nl,
integer, dimension(2,*), intent(inout) las,
integer, intent(in) nc,
type(submodel_data), dimension(nsubmod), intent(in) lsubmodel )

Definition at line 34 of file leclas1.F.

35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
40 USE format_mod , ONLY : fmt_10i
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER,INTENT(IN) :: NC, NL
49 INTEGER,INTENT(INOUT) :: LAS(2,*)
50 TYPE(SUBMODEL_DATA),INTENT(IN) ::LSUBMODEL(NSUBMOD)
51C-----------------------------------------------
52C C o m m o n B l o c k s
53C-----------------------------------------------
54#include "units_c.inc"
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER I,J,N,NN,NK
59 INTEGER J10(NL)
60 LOGICAL IS_AVAILABLE
61C---------------------------------
62C List of plasma elements
63C---------------------------------
64
65 !---READING
66 DO j=1,nl
67 CALL hm_get_int_array_index('location_unit_element', j10(j), j, is_available, lsubmodel)
68 las(1,j) = j10(j)
69 ENDDO
70
71 !---OUTPUT
72 n = 0
73 nn = nl / 10
74 nk = mod(nl,10)
75 DO j=1,nn
76 WRITE(iout,fmt_10i)j10((j-1)*10+1:j*10)
77 ENDDO
78 WRITE(iout,fmt_10i)j10(nn*10+1:nn*10+nk)
79
80 !---STORAGE
81 las(1,nl+1)=nc
82
83 RETURN
subroutine hm_get_int_array_index(name, ival, index, is_available, lsubmodel)
integer nsubmod
character *2 function nl()
Definition message.F:2354