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 , ONLY : submodel_data
53 USE eos_param_mod , ONLY : analy_temp
54C-----------------------------------------------
55C I m p l i c i t T y p e s
56C-----------------------------------------------
57#include "implicit_f.inc"
58C-----------------------------------------------
59C D u m m y A r g u m e n t s
60C-----------------------------------------------
61C INPUT ARGUMENTS
62 INTEGER, INTENT(OUT) ::NANALY,IPARITH,IPARI0
63 TYPE(submodel_data),INTENT(IN)::LSUBMODEL(*)
64C OUTPUT ARGUMENTS
65C-----------------------------------------------
66C L o c a l V a r i a b l e s
67C-----------------------------------------------
68 INTEGER :: NB_ANALY
69 INTEGER :: ITEMP
70 LOGICAL :: IS_AVAILABLE
71C============================================================================
72 is_available = .false.
73C----------------------------------------------
74 CALL hm_option_count('/ANALY',nb_analy)
75 IF (nb_analy>0) THEN
76 CALL hm_option_start('/ANALY')
77 CALL hm_option_read_key(lsubmodel)
78 CALL hm_get_intv('N2D3D',nanaly,is_available,lsubmodel)
79 CALL hm_get_intv('IPARITH',iparith,is_available,lsubmodel)
80 CALL hm_get_intv('ANALY_TEMP',itemp,is_available,lsubmodel)
81 IF(iparith == 0)THEN
82 ipari0 = 1
83 iparith = 1
84 ELSEIF(iparith == 1)THEN
85 ipari0 = 1
86 ELSEIF(iparith == 2)THEN
87 ipari0 = 0
88 ELSE
89 ipari0=iparith-1
90 ENDIF
91 ! ANALY_TEMP : 0 No temperature evolution in expansion for solid EoS
92 ! ANALY_TEMP : 1 Temperature evolution also in expansion for solid EoS (cutoff removed)
93 analy_temp = 0
94 IF(itemp == 1)analy_temp = 1
95 ELSE
96 nanaly = 0
97 iparith = 1
98 analy_temp = 0
99 ENDIF
100
101C--------------------------------------------------------------
102 RETURN
103 END
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)