OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_implicit.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_read_implicit ../starter/source/general_controls/computation/hm_read_implicit.F
25!||--- called by ------------------------------------------------------
26!|| contrl ../starter/source/starter/contrl.F
27!||--- calls -----------------------------------------------------
28!|| hm_option_count ../starter/source/devtools/hm_reader/hm_option_count.F
29!|| hm_option_read_key ../starter/source/devtools/hm_reader/hm_option_read_key.F
30!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
31!||--- uses -----------------------------------------------------
32!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
33!|| submodel_mod ../starter/share/modules1/submodel_mod.F
34!||====================================================================
35 SUBROUTINE hm_read_implicit(LSUBMODEL)
36C-----------------------------------------------
37C ROUTINE DESCRIPTION :
38C ===================
39C READ /IMPLICIT USING HM_READER
40C-----------------------------------------------
41C DUMMY ARGUMENTS DESCRIPTION:
42C ===================
43C NAME DESCRIPTION
44C LSUBMODEL SUBMODEL STRUCTURE
45C-----------------------------------------------
46C M o d u l e s
47C-----------------------------------------------
49 USE submodel_mod
50C-----------------------------------------------
51C I m p l i c i t T y p e s
52C-----------------------------------------------
53#include "implicit_f.inc"
54C-----------------------------------------------
55C C o m m o n B l o c k s
56C-----------------------------------------------
57#include "com01_c.inc"
58C-----------------------------------------------
59C D u m m y A r g u m e n t s
60C-----------------------------------------------
61C INPUT ARGUMENTS
62 TYPE(submodel_data),INTENT(IN)::LSUBMODEL(*)
63C OUTPUT ARGUMENTS
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I,NB_IMPLICIT,SUB_ID
68 LOGICAL IS_AVAILABLE
69C============================================================================
70 is_available = .false.
71C----------------------------------------------
72 iimplicit = 0
73C
74 CALL hm_option_count('/IMPLICIT', nb_implicit)
75 CALL hm_option_start('/IMPLICIT')
76 DO i=1,nb_implicit
77 CALL hm_option_read_key(lsubmodel,
78 . submodel_id = sub_id)
79 IF(sub_id == 0) THEN
80 iimplicit = 1
81 EXIT
82 END IF
83 ENDDO
84C--------------------------------------------------------------
85 RETURN
86 END
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)
subroutine hm_read_implicit(lsubmodel)