OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_get_floatv_without_uid.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_get_floatv_without_uid ../starter/source/devtools/hm_reader/hm_get_floatv_without_uid.F
25!||--- called by ------------------------------------------------------
26!|| hm_read_lagmul ../starter/source/tools/lagmul/hm_read_lagmul.F
27!|| hm_read_sphglo ../starter/source/general_controls/computation/hm_read_sphglo.F
28!|| hm_read_unit ../starter/source/general_controls/computation/hm_read_unit.F
29!||--- calls -----------------------------------------------------
30!||--- uses -----------------------------------------------------
31!|| message_mod ../starter/share/message_module/message_mod.F
32!||====================================================================
33 SUBROUTINE hm_get_floatv_without_uid(NAME,RVAL,IS_AVAILABLE)
34C-----------------------------------------------
35C ROUTINE DESCRIPTION :
36C ===================
37C REQUEST DATA INTO MODEL NEUTRAL OBJECT DATABASE USING HM_READER
38C PICK VALUE
39C ASK (REAL) VALUE OF 'NAME' FIELD DEFINED IN .cfg FILE
40C ONLY FOR OPTION THAT ARE NOT UNIT DEPENDANT
41C-----------------------------------------------
42C DUMMY ARGUMENTS DESCRIPTION:
43C ===================
44C
45C NAME DESCRIPTION
46C
47C NAME FIELD NAME
48C RVAL REAL VALUE OF THE FIELD
49C IS_AVAILABLE VALUE AVAILABLE IN MODEL OR NOT
50C============================================================================
51C M o d u l e s
52C-----------------------------------------------
53 USE message_mod
54 use, INTRINSIC :: iso_c_binding, only: c_bool
55
56C-----------------------------------------------
57C I m p l i c i t T y p e s
58C-----------------------------------------------
59#include "implicit_f.inc"
60C-----------------------------------------------
61C D u m m y A r g u m e n t s
62C-----------------------------------------------
63C INPUT ARGUMENTS
64 CHARACTER*(*),INTENT(IN)::NAME
65C OUTPUT ARGUMENTS
66 my_real,
67 . INTENT(OUT)::rval
68 LOGICAL,INTENT(OUT)::IS_AVAILABLE
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 real*8 dval,length_dim,mass_dim,time_dim
73 LOGICAL(KIND=C_BOOL) :: C_IS_AVAILABLE
74C-----------------------------------------------
75 c_is_available = .false.
76 length_dim = zero
77 mass_dim = zero
78 time_dim = zero
79C--------------------------------------------------
80 CALL cpp_get_floatv_only(name(1:len_trim(name)),len_trim(name),dval,c_is_available,
81 . length_dim,mass_dim,time_dim)
82C--------------------------------------------------
83 rval = dval
84 is_available = c_is_available
85C--------------------------------------------------
86 RETURN
87C
88 END
#define my_real
Definition cppsort.cpp:32
subroutine hm_get_floatv_without_uid(name, rval, is_available)