OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_isurf_str.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> 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)
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
94 END SUBROUTINE c_isurf_str
subroutine c_isurf_str(proc, lenisurf_l, nspmd, igrsurf_proc)
Definition c_isurf_str.F:30