OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_group_is_used.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine hm_group_is_used (name, sname, id, is_used)

Function/Subroutine Documentation

◆ hm_group_is_used()

subroutine hm_group_is_used ( character*(sname), intent(in) name,
integer, intent(in) sname,
integer, intent(in) id,
logical, intent(out) is_used )

Definition at line 32 of file hm_group_is_used.F.

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
initmumps id