OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
clause_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!|| clause_init ../starter/source/model/sets/clause_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 clause_init(CLAUSE)
31C-----------------------------------------------
32C M o d u l e s
33C-----------------------------------------------
34 USE message_mod
35 USE setdef_mod
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 TYPE (SET_) :: CLAUSE
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 clause%NB_NODE= 0 ! CLAUSE nb of nodes
48 clause%NB_PART= 0 ! CLAUSE nb of parts
49 clause%NB_SOLID= 0 ! CLAUSE nb of solids
50 clause%NB_QUAD= 0 ! CLAUSE nb of quads
51 clause%NB_SH4N= 0 ! CLAUSE nb of sh4n
52 clause%NB_SH3N= 0 ! CLAUSE nb of sh3n
53 clause%NB_TRIA= 0 ! CLAUSE nb of trias
54 clause%NB_BEAM= 0 ! CLAUSE nb of beams
55 clause%NB_TRUSS= 0 ! CLAUSE nb of truss
56 clause%NB_SPRING= 0 ! clause nb of spring
57 clause%NB_SURF_SEG= 0 ! CLAUSE nb of surfacce's segments
58 clause%NB_LINE_SEG= 0 ! CLAUSE nb of line/edge's segments
59 clause%NB_RBODY= 0 ! CLAUSE nb of Rbodys
60 clause%NB_SPHCEL= 0 ! CLAUSE nb of sphcel
61 clause%EXT_ALL = 0
62
63 clause%NB_ELLIPSE= 0 ! CLAUSE nb of Ellipses within a SET (max = 1, one per /SET)
64 clause%ELLIPSE_IAD_BUFR= 0
65 clause%ELLIPSE_ID_MADYMO=0
66 clause%ELLIPSE_N=0
67 clause%ELLIPSE_XC=0
68 clause%ELLIPSE_YC=0
69 clause%ELLIPSE_ZC=0
70 clause%ELLIPSE_A=0
71 clause%ELLIPSE_B=0
72 clause%ELLIPSE_C=0
73
74 clause%NB_PLANE= 0 ! CLAUSE nb of Planes within a SET (max = 1, one per /SET)
75 clause%PLANE_IAD_BUFR= 0
76 clause%PLANE_XM=0
77 clause%PLANE_YM=0
78 clause%PLANE_ZM=0
79 clause%PLANE_XM1=0
80 clause%PLANE_YM1=0
81 clause%PLANE_ZM1=0
82
83 clause%NB_NODENS= 0 ! CLAUSE nb of NODENS -> unsortable node list
84!---
85 IF(ALLOCATED( clause%NODE )) DEALLOCATE( clause%NODE )
86 IF(ALLOCATED( clause%PART )) DEALLOCATE( clause%PART )
87 IF(ALLOCATED( clause%SOLID )) DEALLOCATE( clause%SOLID )
88 IF(ALLOCATED( clause%QUAD )) DEALLOCATE( clause%QUAD )
89 IF(ALLOCATED( clause%SH4N )) DEALLOCATE( clause%SH4N )
90 IF(ALLOCATED( clause%SH3N )) DEALLOCATE( clause%SH3N )
91 IF(ALLOCATED( clause%TRIA )) DEALLOCATE( clause%TRIA )
92 IF(ALLOCATED( clause%BEAM )) DEALLOCATE( clause%BEAM )
93 IF(ALLOCATED( clause%TRUSS )) DEALLOCATE( clause%TRUSS )
94 IF(ALLOCATED( clause%SPRING )) DEALLOCATE( clause%SPRING )
95 IF(ALLOCATED( clause%SURF_NODES )) DEALLOCATE( clause%SURF_NODES )
96 IF(ALLOCATED( clause%SURF_ELTYP )) DEALLOCATE( clause%SURF_ELTYP )
97 IF(ALLOCATED( clause%SURF_ELEM )) DEALLOCATE( clause%SURF_ELEM )
98 IF(ALLOCATED( clause%LINE_NODES )) DEALLOCATE( clause%LINE_NODES )
99 IF(ALLOCATED( clause%LINE_ELTYP )) DEALLOCATE( clause%LINE_ELTYP )
100 IF(ALLOCATED( clause%LINE_ELEM )) DEALLOCATE( clause%LINE_ELEM )
101 IF(ALLOCATED( clause%RBODY )) DEALLOCATE( clause%RBODY )
102 IF(ALLOCATED( clause%ELLIPSE_SKEW )) DEALLOCATE( clause%ELLIPSE_SKEW )
103 IF(ALLOCATED( clause%NODENS )) DEALLOCATE( clause%NODENS )
104 IF(ALLOCATED( clause%SPHCEL )) DEALLOCATE( clause%SPHCEL )
105C-----
106 RETURN
107 END
subroutine clause_init(clause)
Definition clause_init.F:31