OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
c_group_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_group_str ../starter/source/restart/ddsplit/c_group_str.F
25!||--- called by ------------------------------------------------------
26!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
27!||--- calls -----------------------------------------------------
28!|| c_gr_entity_e ../starter/source/model/group/c_gr_entity.F
29!|| c_gr_entity_n ../starter/source/model/group/c_gr_entity.F
30!||--- uses -----------------------------------------------------
31!||====================================================================
32 SUBROUTINE c_group_str(
33 1 IGRNOD ,IGRBRIC ,IGRQUAD ,IGRSH4N ,IGRSH3N ,
34 2 IGRTRUSS ,IGRBEAM ,IGRSPRING ,IGRPART ,CEP ,
35 3 CEL ,NODLOCAL ,PROC ,LENIGRNOD_L,LENIGRBRIC_L ,
36 4 LENIGRQUAD_L,LENIGRSH4N_L,LENIGRTRUS_L,LENIGRBEAM_L,LENIGRSPRI_L,
37 5 LENIGRSH3N_L,FRONTB_R2R ,NUMNOD_L)
38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
41 USE groupdef_mod
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46C-----------------------------------------------
47C C o m m o n B l o c k s
48C-----------------------------------------------
49#include "com04_c.inc"
50#include "tabsiz_c.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER CEP(*),CEL(*),NODLOCAL(*),PROC,LENIGRNOD_L,
55 . LENIGRBRIC_L,LENIGRQUAD_L,LENIGRSH4N_L,
56 . LENIGRTRUS_L,LENIGRBEAM_L,LENIGRSPRI_L,
57 . LENIGRSH3N_L,FRONTB_R2R(*),NUMNOD_L
58!
59 TYPE (GROUP_) , DIMENSION(NGRNOD) :: IGRNOD
60 TYPE (GROUP_) , DIMENSION(NGRBRIC) :: IGRBRIC
61 TYPE (GROUP_) , DIMENSION(NGRQUAD) :: IGRQUAD
62 TYPE (GROUP_) , DIMENSION(NGRSHEL) :: IGRSH4N
63 TYPE (GROUP_) , DIMENSION(NGRSH3N) :: IGRSH3N
64 TYPE (GROUP_) , DIMENSION(NGRTRUS) :: IGRTRUSS
65 TYPE (GROUP_) , DIMENSION(NGRBEAM) :: IGRBEAM
66 TYPE (GROUP_) , DIMENSION(NGRSPRI) :: IGRSPRING
67 TYPE (GROUP_) , DIMENSION(NGRPART) :: IGRPART
68C-----------------------------------------------
69C L o c a l V a r i a b l e s
70C-----------------------------------------------
71 INTEGER ESHIFT
72C-----------------------------------------------
73! --- WRITE IGRNOD ---
74 IF (ngrnod > 0) CALL c_gr_entity_n(igrnod ,ngrnod ,lenigrnod ,nodlocal,
75 . proc ,lenigrnod_l,frontb_r2r,numnod_l)
76! --- WRITE IGRBRIC ---
77 eshift = 0
78 IF (ngrbric > 0) CALL c_gr_entity_e(igrbric,ngrbric,lenigrbric,cep,
79 . cel ,proc ,eshift,lenigrbric_l)
80! --- WRITE IGRQUAD ---
81 eshift = eshift + numels
82 IF (ngrquad > 0) CALL c_gr_entity_e(igrquad,ngrquad,lenigrquad,cep,
83 . cel ,proc ,eshift,lenigrquad_l)
84! --- WRITE IGRSH4N ---
85 eshift = eshift + numelq
86 IF (ngrshel > 0) CALL c_gr_entity_e(igrsh4n,ngrshel,lenigrsh4n,cep,
87 . cel ,proc ,eshift,lenigrsh4n_l)
88! --- WRITE IGRTRUSS ---
89 eshift = eshift + numelc
90 IF (ngrtrus > 0) CALL c_gr_entity_e(igrtruss,ngrtrus,lenigrtrus,cep,
91 . cel ,proc ,eshift,lenigrtrus_l)
92! --- WRITE IGRBEAM ---
93 eshift = eshift + numelt
94 IF (ngrbeam > 0) CALL c_gr_entity_e(igrbeam,ngrbeam,lenigrbeam,cep,
95 . cel ,proc ,eshift,lenigrbeam_l)
96! --- WRITE IGRSPRING ---
97 eshift = eshift + numelp
98 IF (ngrspri > 0) CALL c_gr_entity_e(igrspring,ngrspri,lenigrspri,cep,
99 . cel ,proc ,eshift,lenigrspri_l)
100! --- WRITE IGRSH3N ---
101 eshift = eshift + numelr
102 IF (ngrsh3n > 0) CALL c_gr_entity_e(igrsh3n,ngrsh3n,lenigrsh3n,cep,
103 . cel ,proc ,eshift,lenigrsh3n_l)
104!! ESHIFT = ESHIFT + NUMELTG
105! --- WRITE IGRPART ---
106! IF (NGRPART > 0) CALL W_GR_ENTITY_P(IGRPART,NGRPART,LENIGRPART,CEP,
107! . CEL ,PROC )
108!---------
109 RETURN
110 END
subroutine c_gr_entity_n(igr, ngr, lenigr, nodlocal, proc, lenigr_l, frontb_r2r, numnod_l)
subroutine c_gr_entity_e(igr, ngr, lenigr, cep, cel, proc, eshift, lenigr_l)
Definition c_gr_entity.F:31
subroutine c_group_str(igrnod, igrbric, igrquad, igrsh4n, igrsh3n, igrtruss, igrbeam, igrspring, igrpart, cep, cel, nodlocal, proc, lenigrnod_l, lenigrbric_l, lenigrquad_l, lenigrsh4n_l, lenigrtrus_l, lenigrbeam_l, lenigrspri_l, lenigrsh3n_l, frontb_r2r, numnod_l)
Definition c_group_str.F:38