OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
isurf_ini.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!|| isurf_ini ../starter/source/model/group/isurf_ini.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||--- uses -----------------------------------------------------
28!||====================================================================
29 SUBROUTINE isurf_ini(IGRSURF)
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"
42#include "tabsiz_c.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 TYPE(surf_) ,DIMENSION(NSURF) :: IGRSURF
47C-----------------------------------------------
48C L o c a l V a r i a b l e s
49C-----------------------------------------------
50 INTEGER L_SURF,ISU,ID,NSEG,TYPE,ID_MADYMO,IAD_BUFR,
51 . NB_MADYMO,TYPE_MADYMO,LEVEL,TH_SURF,ISH4N3N,NSEG_R2R_ALL,
52 . NSEG_R2R_SHARE
53C-----------------------------------------------
54!---
55! Size of ISURF structure
56!---
57!
58 l_surf = 0
59 DO isu=1,nsurf
60! variables
61 id = igrsurf(isu)%ID
62 l_surf = l_surf + 1
63 nseg = igrsurf(isu)%NSEG
64 l_surf = l_surf + 1
65 TYPE = igrsurf(isu)%TYPE
66 l_surf = l_surf + 1
67 id_madymo = igrsurf(isu)%ID_MADYMO
68 l_surf = l_surf + 1
69 iad_bufr = igrsurf(isu)%IAD_BUFR
70 l_surf = l_surf + 1
71 nb_madymo = igrsurf(isu)%NB_MADYMO
72 l_surf = l_surf + 1
73 type_madymo = igrsurf(isu)%TYPE_MADYMO
74 l_surf = l_surf + 1
75 level = igrsurf(isu)%LEVEL
76 l_surf = l_surf + 1
77 th_surf = igrsurf(isu)%TH_SURF
78 l_surf = l_surf + 1
79 ish4n3n = igrsurf(isu)%ISH4N3N
80 l_surf = l_surf + 1
81 nseg_r2r_all = igrsurf(isu)%NSEG_R2R_ALL
82 l_surf = l_surf + 1
83 nseg_r2r_share = igrsurf(isu)%NSEG_R2R_SHARE
84 l_surf = l_surf + 1
85!
86 l_surf = l_surf + 4*nseg ! nodes of segment
87 l_surf = l_surf + nseg ! ELTYP of segment
88 l_surf = l_surf + nseg ! ELEM of segment
89!
90!! IF ( NSEG_IGE > 0) THEN
91!! L_SURF = L_SURF + 4*9*NSEG_IGE ! nodes of segment
92!! L_SURF = L_SURF + 1*9 ! ELTYP
93!! L_SURF = L_SURF + 1*9 ! ELEM
94!! ENDIF ! IF ( NSEG_IGE > 0)
95 ENDDO ! DO ISU=1,NSURF
96!
97!---------
98 lenisurf = l_surf
99!---------
100 RETURN
101 END
subroutine isurf_ini(igrsurf)
Definition isurf_ini.F:30