OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
set_init.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!|| set_init ../starter/source/model/sets/set_init.F
25!||--- called by ------------------------------------------------------
26!|| hm_set ../starter/source/model/sets/hm_set.F
27!||--- uses -----------------------------------------------------
28!|| message_mod ../starter/share/message_module/message_mod.F
29!||====================================================================
30 SUBROUTINE set_init(
31 . SET ,IGS ,SET_ID, SET_TITLE, ISET_TYPE)
32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35 USE message_mod
36 USE setdef_mod
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER IGS,SET_ID,ISET_TYPE
49 CHARACTER(LEN=NCHARTITLE)::SET_TITLE
50C-----------------------------------------------
51 TYPE (SET_), DIMENSION(NSETS) :: SET
52C-----------------------------------------------
53!
54 set(igs)%SET_ID = set_id
55 set(igs)%TITLE = set_title
56 set(igs)%SET_TYPE = iset_type
57 set(igs)%EXT_ALL = 0 ! type of surface : /EXT or /ALL
58!
59! SET(IGS)%SET_ACTIV = 1 ! SET_ACTIV was already initialized in sort_sets.F,
60 ! this permits to treat the /SET/COLLECT, in /SET/COLLECT, only one is active,
61 ! the others are as dependency
62 set(igs)%SURF_SET_ID = 0
63 set(igs)%LINE_SET_ID = 0
64 set(igs)%SURF_SET_FLAG = 0
65 set(igs)%LINE_SET_FLAG = 0
66!
67 set(igs)%SET_GRNOD_ID= 0 ! SET grnod identifier
68 set(igs)%SET_GRPART_ID= 0 ! SET grpart identifier
69 set(igs)%SET_GRSOLID_ID= 0 ! SET grsolid identifier
70 set(igs)%SET_GRSH4N_ID= 0 ! SET grsh4n identifier
71 set(igs)%SET_GRSH3N_ID= 0 ! SET grsh3n identifier
72 set(igs)%SET_GRQUAD_ID= 0 ! SET grquad identifier
73 set(igs)%SET_GRTRIA_ID= 0 ! SET grtria identifier
74 set(igs)%SET_GRBEAM_ID= 0 ! SET grbeam identifier
75 set(igs)%SET_GRTRUSS_ID= 0 ! SET grtruss identifier
76 set(igs)%SET_GRSPRING_ID= 0 ! SET grspring identifier
77 set(igs)%SET_NSURF_ID= 0 ! SET grsurf identifier
78 set(igs)%SET_NSLIN_ID= 0 ! SET grslin identifier
79!
80 set(igs)%NB_NODE= 0 ! SET nb of nodes
81 set(igs)%NB_PART= 0 ! SET nb of parts
82 set(igs)%NB_SOLID= 0 ! SET nb of solids
83 set(igs)%NB_SH4N= 0 ! SET nb of sh4n
84 set(igs)%NB_SH3N= 0 ! SET nb of sh3n
85 set(igs)%NB_QUAD= 0 ! SET nb of quads
86 set(igs)%NB_TRIA= 0 ! SET nb of trias
87 set(igs)%NB_BEAM= 0 ! SET nb of beams
88 set(igs)%NB_TRUSS= 0 ! SET nb of truss
89 set(igs)%NB_SPRING= 0 ! SET nb of spring
90 set(igs)%NB_SURF_SEG= 0 ! SET nb of surfacce's segments
91 set(igs)%NB_LINE_SEG= 0 ! SET nb of line/edge's segments
92 set(igs)%HAS_SURF_SEG= 0 ! Flag if a surface was created from surface (QA Print)
93 set(igs)%HAS_LINE_SEG= 0 ! Flag if a line was created from surface (QA Print)
94 set(igs)%NB_ELLIPSE=0 ! Flag nb of ellipses (one per /SET)
95 set(igs)%NB_NODENS= 0 ! SET nb of nodens
96 set(igs)%NB_SPHCEL= 0 ! SET nb of sphcel
97
98 set(igs)%NB_ELLIPSE= 0 ! SET nb of Ellipses (max = 1, one per /SET)
99 set(igs)%ELLIPSE_IAD_BUFR= 0 ! surface buffer adress in SET
100 set(igs)%ELLIPSE_ID_MADYMO=0 ! ID of Madymo surface
101 set(igs)%ELLIPSE_N=0 ! Degree of the hyper-ellipsoid
102 set(igs)%ELLIPSE_XC=0 ! Center coordinate X of the hyper-ellipsoid
103 set(igs)%ELLIPSE_YC=0 ! Center coordinate Y of the hyper-ellipsoid
104 set(igs)%ELLIPSE_ZC=0 ! Center coordinate Z of the hyper-ellipsoid
105 set(igs)%ELLIPSE_A=0 ! Semi-axis length along X direction of the hyper-ellipsoid
106 set(igs)%ELLIPSE_B=0 ! Semi-axis length along Y direction of the hyper-ellipsoid
107 set(igs)%ELLIPSE_C=0 ! Semi-axis length along Z direction of the hyper-ellipsoid
108
109 set(igs)%NB_PLANE= 0 ! SET nb of Planes (max = 1, one per /SET)
110 set(igs)%PLANE_IAD_BUFR= 0 ! surface buffer adress in SET
111 set(igs)%PLANE_XM=0 ! X coordinate of M (end of normal vector) in PLANE surface
112 set(igs)%PLANE_YM=0 ! Y coordinate of M (end of normal vector) in PLANE surface
113 set(igs)%PLANE_ZM=0 ! Z coordinate of M (end of normal vector) in PLANE surface
114 set(igs)%PLANE_XM1=0 ! X coordinate of M1 (head of normal vector) in PLANE surface
115 set(igs)%PLANE_YM1=0 ! Y coordinate of M1 (head of normal vector) in PLANE surface
116 set(igs)%PLANE_ZM1=0 ! Z coordinate of M1 (head of normal vector) in PLANE surface
117C-----
118 RETURN
119 END
integer, parameter nchartitle
subroutine set_init(set, igs, set_id, set_title, iset_type)
Definition set_init.F:32