OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_set_floatv.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_set_floatv ../starter/source/devtools/hm_reader/hm_set_floatv.F
25!||--- calls -----------------------------------------------------
26!||--- uses -----------------------------------------------------
27!|| message_mod ../starter/share/message_module/message_mod.F
28!|| submodel_mod ../starter/share/modules1/submodel_mod.F
29!||====================================================================
30 SUBROUTINE hm_set_floatv(NAME,RVAL)
31C-----------------------------------------------
32C ROUTINE DESCRIPTION :
33C ===================
34C SET FLOAT DATA IDENTIFIED BY 'NAME' INTO MODEL NEUTRAL OBJECT DATABASE USING HM_READER
35C-----------------------------------------------
36C DUMMY ARGUMENTS DESCRIPTION:
37C ===================
38C
39C NAME DESCRIPTION
40C
41C NAME FIELD NAME
42C RVAL REAL VALUE OF THE FIELD
43C============================================================================
44C M o d u l e s
45C-----------------------------------------------
46 USE message_mod
47 USE submodel_mod
48 USE unitab_mod
49 use, INTRINSIC :: iso_c_binding, only: c_bool
50
51C-----------------------------------------------
52C I m p l i c i t T y p e s
53C-----------------------------------------------
54#include "implicit_f.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58C INPUT ARGUMENTS
59 CHARACTER*50,INTENT(IN)::NAME
60 my_real,
61 . INTENT(IN)::rval
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 LOGICAL(KIND=C_BOOL) :: C_IS_AVAILABLE
66 DOUBLE PRECISION DVAL
67C-----------------------------------------------
68C E x t e r n a l F u n c t i o n s
69C-----------------------------------------------
70 dval = rval
71 CALL cpp_set_floatv(name(1:len_trim(name)),len_trim(name),dval,c_is_available)
72C--------------------------------------------------
73 RETURN
74C
75 END
#define my_real
Definition cppsort.cpp:32
subroutine hm_set_floatv(name, rval)