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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_convert_inter_type19 (idmax_inter, idmax_grnod, idmax_line, lsubmodel)

Function/Subroutine Documentation

◆ hm_convert_inter_type19()

subroutine hm_convert_inter_type19 ( integer, intent(in) idmax_inter,
integer, intent(in) idmax_grnod,
integer, intent(in) idmax_line,
type(submodel_data), dimension(*), intent(in) lsubmodel )

Definition at line 35 of file hm_convert_inter_type19.F.

36C-----------------------------------------------
37C ROUTINE DESCRIPTION :
38C ===================
39C ROUTINE TO CONVERT /INTER/TYPE19 -> /INTER/TYPE11 + /GRNOD + LINE
40C-----------------------------------------------
41C DUMMY ARGUMENTS DESCRIPTION:
42C ===================
43C
44C NAME DESCRIPTION
45C
46C IDMAX_INTER MAX ID INTERFACES
47C IDMAX_GRNOD MAX ID GRNODES
48C IDMAX_LINE MAX ID LINES
49C LSUBMODEL SUBMODEL STRUCTURE
50C============================================================================
51C M o d u l e s
52C-----------------------------------------------
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 INPUT ARGUMENTS
63 INTEGER,INTENT(IN)::IDMAX_INTER,IDMAX_GRNOD,IDMAX_LINE
64 TYPE(SUBMODEL_DATA),INTENT(IN)::LSUBMODEL(*)
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER I,NBINTER19,OFFSET,ISFIRST
69C-----------------------------------------------
70 CALL hm_option_count('/INTER/TYPE19', nbinter19)
71 CALL hm_option_start('/INTER/TYPE19')
72 DO i=1,nbinter19
73 isfirst = 1
74 CALL hm_option_next()
75 offset = 0
76 CALL cpp_convert_inter_type19(idmax_inter,idmax_grnod,idmax_line,offset,isfirst)
77 ENDDO
78C--------------------------------------------------
79C DELETE TYPE19 INTERFACES
80C--------------------------------------------------
81 DO i=1,nbinter19
82 CALL hm_option_start('/INTER/TYPE19')
83 CALL hm_option_next()
84 CALL cpp_delete_entity()
85 ENDDO
86C--------------------------------------------------
87 RETURN
88C
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_next()
subroutine hm_option_start(entity_type)