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

Go to the source code of this file.

Functions/Subroutines

subroutine c_isurf_str (proc, lenisurf_l, nspmd, igrsurf_proc)

Function/Subroutine Documentation

◆ c_isurf_str()

subroutine c_isurf_str ( integer, intent(in) proc,
integer, intent(inout) lenisurf_l,
integer, intent(in) nspmd,
type(surf_), dimension(nsurf,nspmd), intent(in) igrsurf_proc )
Parameters
[in]procprocessor id
[in,out]lenisurf_lsize of surface buffer written in the restart
[in]nspmdnumber of processor
[in]igrsurf_procsurface structure per proc, size =NSURF*NSPMS

Definition at line 29 of file c_isurf_str.F.

30C-----------------------------------------------
31C M o d u l e s
32C-----------------------------------------------
33 USE groupdef_mod
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41#include "com04_c.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER, INTENT(IN) :: PROC !< processor id
46 INTEGER, INTENT(INOUT) :: LENISURF_L !< size of surface buffer written in the restart
47 INTEGER, INTENT(IN) :: NSPMD !< number of processor
48 TYPE(SURF_), DIMENSION(NSURF,NSPMD), INTENT(IN) :: IGRSURF_PROC !< surface structure per proc, size =NSURF*NSPMS
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 INTEGER :: ISU
53 INTEGER :: L_SURF
54C-----------------------------------------------
55 l_surf = 0
56!
57 DO isu=1,nsurf
58!
59! surf storage
60!
61! IGRSURF_L(L_SURF+1) = ID
62 l_surf = l_surf+1
63! IGRSURF_L(L_SURF+1) = NSEG_L(ISU)
64 l_surf = l_surf+1
65! IGRSURF_L(L_SURF+1) = TYPE
66 l_surf = l_surf+1
67! IGRSURF_L(L_SURF+1) = ID_MADYMO
68 l_surf = l_surf+1
69! IGRSURF_L(L_SURF+1) = IAD_BUFR
70 l_surf = l_surf+1
71! IGRSURF_L(L_SURF+1) = NB_MADYMO
72 l_surf = l_surf+1
73! IGRSURF_L(L_SURF+1) = TYPE_MADYMO
74 l_surf = l_surf+1
75! IGRSURF_L(L_SURF+1) = LEVEL
76 l_surf = l_surf+1
77! IGRSURF_L(L_SURF+1) = TH_SURF
78 l_surf = l_surf+1
79! IGRSURF_L(L_SURF+1) = ISH4N3N
80 l_surf = l_surf+1
81! IGRSURF_L(L_SURF+1) = NSEG_R2R_ALL
82 l_surf = l_surf+1
83! IGRSURF_L(L_SURF+1) = NSEG_R2R_SHARE
84 l_surf = l_surf+1
85!
86! SURF ENTITIES (NODES, ELTYP, ELEM)
87!
88 l_surf = 6*igrsurf_proc(isu,proc+1)%NSEG + l_surf
89 ENDDO
90!---------
91 lenisurf_l = l_surf
92!---------
93 RETURN