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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_preread_cload (numcld, igrnod, igrsurf, lsubmodel)

Function/Subroutine Documentation

◆ hm_preread_cload()

subroutine hm_preread_cload ( integer numcld,
type (group_), dimension(ngrnod) igrnod,
type (surf_), dimension(nsurf) igrsurf,
type(submodel_data), dimension(*), intent(in) lsubmodel )

Definition at line 37 of file hm_preread_cload.F.

38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
41 USE r2r_mod
42 USE groupdef_mod
43 USE submodel_mod
46C-----------------------------------------------
47C I m p l i c i t T y p e s
48C-----------------------------------------------
49#include "implicit_f.inc"
50C-----------------------------------------------
51C C o m m o n B l o c k s
52C-----------------------------------------------
53#include "com04_c.inc"
54#include "r2r_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 INTEGER NUMCLD
59C-----------------------------------------------
60 TYPE (GROUP_) ,DIMENSION(NGRNOD) :: IGRNOD
61 TYPE (SURF_) ,DIMENSION(NSURF) :: IGRSURF
62 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 INTEGER I,J,NLD,IGU,IGS,ISU,ISS,NN,ID,UID
67 INTEGER FLAG_FMT,FLAG_FMT_TMP,IFIX_TMP
68 CHARACTER(LEN=NCHARTITLE) :: TITR
69 LOGICAL IS_AVAILABLE
70C-----------------------------------------------
71C E x t e r n a l F u n c t i o n s
72C-----------------------------------------------
73 INTEGER NGR2USRN
74C=======================================================================
75 is_available = .false.
76C Cloads
77 numcld = 0
78C--------------------------------------------------
79C START BROWSING MODEL CLOAD
80C--------------------------------------------------
81 CALL hm_option_start('/CLOAD')
82C--------------------------------------------------
83C BROWSING MODEL CLOAD 1->NCONLD
84C--------------------------------------------------
85 DO i=1,nconld
86 titr = ''
87C--------------------------------------------------
88C EXTRACT DATAS OF /CLOAD/... LINE
89C--------------------------------------------------
90 CALL hm_option_read_key(lsubmodel,
91 . option_id = id,
92 . option_titr = titr)
93C--------------------------------------------------
94C EXTRACT DATAS (INTEGER VALUES)
95C--------------------------------------------------
96 CALL hm_get_intv ('entityid',igu,is_available,lsubmodel)
97C--------------------------------------------------
98 igs = ngr2usrn(igu,igrnod,ngrnod,nn)
99C-----------Multidomaines -> on decompte les noeuds communs, on ne les compte qu'une foi---
100 IF (nsubdom>0) THEN
101 IF (iddom>0) nn = nn-igrnod(igs)%R2R_SHARE
102 nncl(i)=nn
103 ENDIF
104C-----------
105 numcld = numcld + nn
106C--------------------------------------------------
107 ENDDO
108C---
109 RETURN
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_start(entity_type)
initmumps id
integer, parameter nchartitle
integer, dimension(:), allocatable nncl
Definition r2r_mod.F:131
integer function ngr2usrn(iu, igrnod, ngrnod, num)
Definition nintrr.F:407