OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
hm_elem_count.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_elem_count ../starter/source/devtools/hm_reader/hm_elem_count.F
25!||--- called by ------------------------------------------------------
26!|| contrl ../starter/source/starter/contrl.F
27!||--- calls -----------------------------------------------------
28!||--- uses -----------------------------------------------------
29!|| message_mod ../starter/share/message_module/message_mod.F
30!|| submodel_mod ../starter/share/modules1/submodel_mod.F
31!||====================================================================
32 SUBROUTINE hm_elem_count(ELEM_TYPE, HM_ELEM_NUMBER,IS_DYNA)
33C-----------------------------------------------
34C ROUTINE DESCRIPTION :
35C ===================
36C COUNT NUMBER OF /ELEM_TYPE KEYWORDS USING HM_READER
37C-----------------------------------------------
38C DUMMY ARGUMENTS DESCRIPTION:
39C ===================
40C
41C NAME DESCRIPTION
42C
43C ELEM_TYPE KEYWORD YOU WANT TO FIND NUMBER OF OCCURRENCES
44C 'SPRING'
45C 'XELEM'
46C 'BEAM'
47C 'TRUSS'
48C 'SH3N'
49C 'SHELL'
50C 'TETRA4'
51C 'PENTA6'
52C 'BRICK'
53C 'TETRA10'
54C 'BRICK20'
55C ...........
56C HM_ELEM_NUMBER NUMBER OF OCCURRENCES
57C============================================================================
58C M o d u l e s
59C-----------------------------------------------
60 USE message_mod
61 USE submodel_mod
62C-----------------------------------------------
63C I m p l i c i t T y p e s
64C-----------------------------------------------
65#include "implicit_f.inc"
66C-----------------------------------------------
67C D u m m y A r g u m e n t s
68C-----------------------------------------------
69C INPUT ARGUMENTS
70 CHARACTER*(*),INTENT(IN)::ELEM_TYPE
71 INTEGER,INTENT(IN)::IS_DYNA
72C OUTPUT ARGUMENTS
73 INTEGER,INTENT(OUT)::HM_ELEM_NUMBER
74C-----------------------------------------------
75 CALL cpp_elem_count(elem_type(1:len_trim(elem_type)),len_trim(elem_type),hm_elem_number,is_dyna)
76 RETURN
77C
78 END
subroutine hm_elem_count(elem_type, hm_elem_number, is_dyna)