OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_read_caa.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
!||====================================================================
24
!|| hm_read_caa ../starter/source/general_controls/computation/hm_read_caa.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_caa
(LSUBMODEL)
36
C-----------------------------------------------
37
C ROUTINE DESCRIPTION :
38
C ===================
39
C READ /CAA USING HM_READER
40
C-----------------------------------------------
41
C DUMMY ARGUMENTS DESCRIPTION:
42
C ===================
43
C NAME DESCRIPTION
44
C LSUBMODEL SUBMODEL STRUCTURE
45
C-----------------------------------------------
46
C M o d u l e s
47
C-----------------------------------------------
48
USE
hm_option_read_mod
49
USE
submodel_mod
50
USE
ale_mod
51
C-----------------------------------------------
52
C I m p l i c i t T y p e s
53
C-----------------------------------------------
54
#include "implicit_f.inc"
55
C-----------------------------------------------
56
C C o m m o n B l o c k s
57
C-----------------------------------------------
58
C-----------------------------------------------
59
C D u m m y A r g u m e n t s
60
C-----------------------------------------------
61
C INPUT ARGUMENTS
62
TYPE
(
submodel_data
),
INTENT(IN)
::LSUBMODEL(NSUBMOD)
63
C OUTPUT ARGUMENTS
64
C-----------------------------------------------
65
C L o c a l V a r i a b l e s
66
C-----------------------------------------------
67
INTEGER
I,NB_CAA,SUB_ID
68
LOGICAL
IS_AVAILABLE
69
C============================================================================
70
is_available = .false.
71
C----------------------------------------------
72
CALL
hm_option_count
(
'/CAA'
, nb_caa)
73
CALL
hm_option_start
(
'/CAA'
)
74
DO
i=1,nb_caa
75
CALL
hm_option_read_key
(lsubmodel,submodel_id = sub_id)
76
IF
(sub_id == 0)
THEN
77
ale
%GLOBAL%ICAA=1
78
EXIT
79
END IF
80
ENDDO
81
C--------------------------------------------------------------
82
RETURN
83
END
hm_option_count
subroutine hm_option_count(entity_type, hm_option_number)
Definition
hm_option_count.F:105
hm_option_start
subroutine hm_option_start(entity_type)
Definition
hm_option_start.F:251
hm_read_caa
subroutine hm_read_caa(lsubmodel)
Definition
hm_read_caa.F:36
hm_option_read_mod::hm_option_read_key
Definition
hm_option_read_mod.F:410
ale_mod
Definition
ale_mod.F:149
ale_mod::ale
type(ale_) ale
Definition
ale_mod.F:249
hm_option_read_mod
Definition
hm_option_read_mod.F:408
submodel_mod
Definition
submodel_mod.F:712
starter
program starter
Definition
starter.F:39
submodel_mod::submodel_data
Definition
submodel_mod.F:723
starter
source
general_controls
computation
hm_read_caa.F
Generated by
1.15.0