OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
gr_entity_ini.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
!|| gr_entity_ini ../starter/source/model/group/gr_entity_ini.F
25
!||--- called by ------------------------------------------------------
26
!|| group_ini ../starter/source/model/group/group_ini.F
27
!||--- uses -----------------------------------------------------
28
!||====================================================================
29
SUBROUTINE
gr_entity_ini
(IGR,NGR,LENGROUP)
30
C-----------------------------------------------
31
C M o d u l e s
32
C-----------------------------------------------
33
USE
groupdef_mod
34
USE
names_and_titles_mod
,
ONLY
:
nchartitle
35
C-----------------------------------------------
36
C I m p l i c i t T y p e s
37
C-----------------------------------------------
38
#include "implicit_f.inc"
39
C-----------------------------------------------
40
C C o m m o n B l o c k s
41
C-----------------------------------------------
42
C-----------------------------------------------
43
C D u m m y A r g u m e n t s
44
C-----------------------------------------------
45
INTEGER
NGR,LENGROUP
46
!
47
TYPE
(
group_
) ,
DIMENSION(NGR)
:: IGR
48
C-----------------------------------------------
49
C L o c a l V a r i a b l e s
50
C-----------------------------------------------
51
INTEGER
I,J,ID,IGU,NENTITY,GRTYPE,TRI,
GRPGRP
,LEVEL,R2R_ALL,
52
. R2R_SHARE,L_GROUP
53
CHARACTER(LEN=NCHARTITLE)
:: TITR
54
C-----------------------------------------------
55
!---
56
! Size of SUBSET_ structure
57
!---
58
!
59
l_group = 0
60
DO
igu=1,ngr
61
! variables
62
id = igr(igu)%ID
63
l_group = l_group + 1
64
nentity = igr(igu)%NENTITY
65
l_group = l_group + 1
66
grtype = igr(igu)%GRTYPE
67
l_group = l_group + 1
68
tri = igr(igu)%SORTED
69
l_group = l_group + 1
70
grpgrp = igr(igu)%GRPGRP
71
l_group = l_group + 1
72
level = igr(igu)%LEVEL
73
l_group = l_group+1
74
! TITR = IGR(IGU)%TITLE
75
! L_GROUP = L_GROUP+1
76
r2r_all = igr(igu)%R2R_ALL
77
l_group = l_group+1
78
r2r_share = igr(igu)%R2R_SHARE
79
l_group = l_group+1
80
! arrays
81
l_group = l_group + nentity
! IGR(IGR)%ENTITY(NENTITY)
82
ENDDO
! DO IGU=1,NGR
83
!
84
!---------
85
lengroup = l_group
86
!---------
87
RETURN
88
END
gr_entity_ini
subroutine gr_entity_ini(igr, ngr, lengroup)
Definition
gr_entity_ini.F:30
groupdef_mod
Definition
groupdef_mod.F:662
names_and_titles_mod
Definition
names_and_titles_mod.F:997
names_and_titles_mod::nchartitle
integer, parameter nchartitle
Definition
names_and_titles_mod.F:1003
groupdef_mod::group_
Definition
groupdef_mod.F:700
starter
source
model
group
gr_entity_ini.F
Generated by
1.15.0