OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_isurf_str.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
!||====================================================================
24
!|| c_isurf_str ../starter/source/restart/ddsplit/c_isurf_str.F
25
!||--- called by ------------------------------------------------------
26
!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
27
!||--- uses -----------------------------------------------------
28
!||====================================================================
29
SUBROUTINE
c_isurf_str
(PROC,LENISURF_L,NSPMD,IGRSURF_PROC)
30
C-----------------------------------------------
31
C M o d u l e s
32
C-----------------------------------------------
33
USE
groupdef_mod
34
C-----------------------------------------------
35
C I m p l i c i t T y p e s
36
C-----------------------------------------------
37
#include "implicit_f.inc"
38
C-----------------------------------------------
39
C C o m m o n B l o c k s
40
C-----------------------------------------------
41
#include "com04_c.inc"
42
C-----------------------------------------------
43
C D u m m y A r g u m e n t s
44
C-----------------------------------------------
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
49
C-----------------------------------------------
50
C L o c a l V a r i a b l e s
51
C-----------------------------------------------
52
INTEGER
:: ISU
53
INTEGER
:: L_SURF
54
C-----------------------------------------------
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
94
END SUBROUTINE
c_isurf_str
c_isurf_str
subroutine c_isurf_str(proc, lenisurf_l, nspmd, igrsurf_proc)
Definition
c_isurf_str.F:30
groupdef_mod
Definition
groupdef_mod.F:662
groupdef_mod::surf_
Definition
groupdef_mod.F:745
starter
source
restart
ddsplit
c_isurf_str.F
Generated by
1.15.0