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

Go to the source code of this file.

Functions/Subroutines

subroutine hm_debug_print_option (option)

Function/Subroutine Documentation

◆ hm_debug_print_option()

subroutine hm_debug_print_option ( character*(*), intent(in) option)

Definition at line 32 of file hm_debug_print_option.F.

33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
36 USE message_mod
37 USE groupdef_mod
38 USE submodel_mod
39 USE unitab_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47C INPUT ARGUMENTS
48 CHARACTER*(*),INTENT(IN)::OPTION
49C-----------------------------------------------
50C L o c a l V a r i a b l e s
51C-----------------------------------------------
52 CHARACTER FILNAM*512
53 INTEGER I,LEN_FILNAM,CPT
54C=======================================================================
55C WRITE /ANIM OPTIONS THAT ARE IN MEMORY(HM MODEL) IN 1.RAD FILE
56C=======================================================================
57C-----------------------------------------------
58C OPEN debug_hm.txt
59C-----------------------------------------------
60 filnam ='debug_hm.txt'
61 len_filnam=12
62 CALL cpp_debug_model_open_file(filnam,len_filnam)
63C--------------------------------------------------
64C START BROWSING OPTIONS
65C--------------------------------------------------
66 CALL hm_option_count(option(1:len_trim(option)),cpt)
67 CALL hm_option_start(option(1:len_trim(option)))
68C--------------------------------------------------
69C WRITE INd ebug_hm.txt
70C--------------------------------------------------
71 DO i=1,cpt
72 CALL cpp_debug_global_entity_sdi_write()
73 ENDDO
74C-----------------------------------------------
75C CLOSE debug_hm.txt
76C-----------------------------------------------
77 CALL cpp_debug_model_close_file()
78C-----------------------------------------------
79 RETURN
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)