OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_analy.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_analy ../starter/source/general_controls/computation/hm_read_analy.F
25!||--- called by ------------------------------------------------------
26!|| contrl ../starter/source/starter/contrl.f
27!||--- calls -----------------------------------------------------
28!|| hm_get_intv ../starter/source/devtools/hm_reader/hm_get_intv.f
29!|| hm_option_count ../starter/source/devtools/hm_reader/hm_option_count.F
30!|| hm_option_read_key ../starter/source/devtools/hm_reader/hm_option_read_key.F
31!|| hm_option_start ../starter/source/devtools/hm_reader/hm_option_start.F
32!||--- uses -----------------------------------------------------
33!|| hm_option_read_mod ../starter/share/modules1/hm_option_read_mod.F
34!|| submodel_mod ../starter/share/modules1/submodel_mod.F
35!||====================================================================
36 SUBROUTINE hm_read_analy(NANALY,IPARITH,IPARI0,LSUBMODEL)
37C-----------------------------------------------
38C ROUTINE DESCRIPTION :
39C ===================
40C PREREAD /ANALY USING HM_READER
41C-----------------------------------------------
42C DUMMY ARGUMENTS DESCRIPTION:
43C ===================
44C NAME DESCRIPTION
45C NANALY N2D3D INTEGER
46C IPARITH FLAG FOR PARAL. ARITH.
47C LSUBMODEL SUBMODEL STRUCTURE
48C-----------------------------------------------
49C M o d u l e s
50C-----------------------------------------------
52 USE submodel_mod
53C-----------------------------------------------
54C I m p l i c i t T y p e s
55C-----------------------------------------------
56#include "implicit_f.inc"
57C-----------------------------------------------
58C D u m m y A r g u m e n t s
59C-----------------------------------------------
60C INPUT ARGUMENTS
61 INTEGER, INTENT(OUT) ::NANALY,IPARITH,IPARI0
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 NB_ANALY
68 LOGICAL IS_AVAILABLE
69C============================================================================
70 is_available = .false.
71C----------------------------------------------
72 CALL hm_option_count('/ANALY',nb_analy)
73 IF (nb_analy>0) THEN
74 CALL hm_option_start('/ANALY')
75 CALL hm_option_read_key(lsubmodel)
76 CALL hm_get_intv('N2D3D',nanaly,is_available,lsubmodel)
77 CALL hm_get_intv('IPARITH',iparith,is_available,lsubmodel)
78 IF(iparith==0)THEN
79 ipari0 = 1
80 iparith = 1
81 ELSEIF(iparith==1)THEN
82 ipari0 = 1
83 ELSEIF(iparith==2)THEN
84 ipari0 = 0
85 ELSE
86 ipari0=iparith-1
87 ENDIF
88 ELSE
89 nanaly = 0
90 iparith = 1
91 ENDIF
92
93C--------------------------------------------------------------
94 RETURN
95 END
subroutine contrl(multi_fvm, lsubmodel, is_dyna, detonators, user_windows, mat_elem, names_and_titles, lipart1, defaults, glob_therm, pblast, output)
Definition contrl.F:83
subroutine hm_get_intv(name, ival, is_available, lsubmodel)
subroutine hm_option_count(entity_type, hm_option_number)
subroutine hm_option_start(entity_type)
subroutine hm_read_analy(nanaly, iparith, ipari0, lsubmodel)
program starter
Definition starter.F:39