OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_group_is_used.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!|| hm_group_is_used ../starter/source/devtools/hm_reader/hm_group_is_used.F
25!||--- called by ------------------------------------------------------
26!|| fill_igr ../starter/source/model/sets/fill_igr.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!|| message_mod ../starter/share/message_module/message_mod.F
30!|| submodel_mod ../starter/share/modules1/submodel_mod.F
31!||====================================================================
32 SUBROUTINE hm_group_is_used(NAME,SNAME,ID,IS_USED)
33C-----------------------------------------------
34C ROUTINE DESCRIPTION :
35C ===================
36C REQUEST INFO INTO MODEL NEUTRAL OBJECT DATABASE USING HM_READER
37C IS GROUP USED IN THE MODEL
38C-----------------------------------------------
39C DUMMY ARGUMENTS DESCRIPTION:
40C ===================
41C
42C NAME DESCRIPTION
43C
44C NAME FIELD NAME
45C SNAME FIELD NAME SIZE
46C ID ID OF THE GROUP TO CHECK
47C IS_USED USED IN MODEL OR NOT
48C LSUBMODEL SUBMODEL STRUCTURE
49C============================================================================
50C M o d u l e s
51C-----------------------------------------------
52 use, INTRINSIC :: iso_c_binding, only: c_bool
53 USE message_mod
54 USE submodel_mod
55C-----------------------------------------------
56C I m p l i c i t T y p e s
57C-----------------------------------------------
58#include "implicit_f.inc"
59C-----------------------------------------------
60C D u m m y A r g u m e n t s
61C-----------------------------------------------
62C OUTPUT ARGUMENTS
63 INTEGER,INTENT(IN)::SNAME,ID
64 CHARACTER*(SNAME),INTENT(IN)::NAME
65 LOGICAL,INTENT(OUT)::IS_USED
66C-----------------------------------------------
67C L o c a l V a r i a b l e s
68C-----------------------------------------------
69 LOGICAL(KIND=C_BOOL) C_IS_USED
70C-----------------------------------------------
71 CALL cpp_group_is_used(name(1:len_trim(name)),len_trim(name),id,c_is_used)
72 is_used = c_is_used
73 RETURN
74C
75 END
subroutine hm_group_is_used(name, sname, id, is_used)