OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ini_outmax_auto.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!|| ini_outmax_auto ../starter/source/elements/elbuf_init/ini_outmax_auto.F
25!||--- called by ------------------------------------------------------
26!|| elbuf_ini ../starter/source/elements/elbuf_init/elbuf_ini.F
27!||--- uses -----------------------------------------------------
28!||====================================================================
29 SUBROUTINE ini_outmax_auto(ELBUF_STR,ITY,NG)
30C-----------------------------------------------
31C M o d u l e s
32C-----------------------------------------------
33 USE elbufdef_mod
34 USE outmax_mod
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER ,INTENT(IN):: ITY,NG
43 TYPE(elbuf_struct_),TARGET :: ELBUF_STR
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER I
48 TYPE(g_bufel_) , POINTER :: GBUF
49C=======================================================================
50
51 gbuf => elbuf_str%GBUF
52C----
53 SELECT CASE (ity)
54 CASE(1)
55 gbuf%G_TM_YIELD= ikeymax(1)*ipart_ok(ng,1)
56 gbuf%G_TM_SEQ = ikeymax(2)*ipart_ok(ng,2)
57 gbuf%G_TM_EINT = ikeymax(3)*ipart_ok(ng,3)
58 gbuf%G_TM_DMG = ikeymax(4)*ipart_ok(ng,4)
59 gbuf%G_TM_SIG =6*ikeymax(5)*ipart_ok(ng,5)
60 gbuf%G_TM_STRA =6*ikeymax(6)*ipart_ok(ng,6)
61 CASE(3,7)
62 gbuf%G_TM_YIELD= ikeymax(1)*ipart_ok(ng,1)
63 gbuf%G_TM_SEQ = ikeymax(2)*ipart_ok(ng,2)
64 gbuf%G_TM_EINT = ikeymax(3)*ipart_ok(ng,3)
65 gbuf%G_TM_DMG = ikeymax(4)*ipart_ok(ng,4)
66 gbuf%G_TM_SIG =3*ikeymax(5)*ipart_ok(ng,5)
67 gbuf%G_TM_STRA =3*ikeymax(6)*ipart_ok(ng,6)
68 END SELECT
69C-----------------------------------------------
70 RETURN
71 END SUBROUTINE ini_outmax_auto
subroutine ini_outmax_auto(elbuf_str, ity, ng)
integer, dimension(:,:), allocatable ipart_ok
Definition outmax_mod.F:72
integer, dimension(:), allocatable ikeymax
Definition outmax_mod.F:71