OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
admerr.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!|| admerr ../engine/source/model/remesh/admerr.F
25!||--- called by ------------------------------------------------------
26!|| resol ../engine/source/engine/resol.F
27!||--- calls -----------------------------------------------------
28!|| admthke ../engine/source/model/remesh/admthke.F
29!|| ancmsg ../engine/source/output/message/message.F
30!|| arret ../engine/source/system/arret.F
31!||--- uses -----------------------------------------------------
32!|| elbufdef_mod ../common_source/modules/mat_elem/elbufdef_mod.F90
33!|| element_mod ../common_source/modules/elements/element_mod.F90
34!|| message_mod ../engine/share/message_module/message_mod.F
35!||====================================================================
36 SUBROUTINE admerr(
37 . IXC ,IXTG ,X ,IPARG ,ELBUF_TAB ,
38 . IPART ,IPARTC ,IPARTTG ,ERR_THK_SH4 ,ERR_THK_SH3 ,
39 . IAD_ELEM ,FR_ELEM ,WEIGHT ,SH4TREE ,SH3TREE ,
40 . AREA_SH4 ,AREA_SH3, AREA_NOD,
41 . THICK_SH4, THICK_SH3, THICK_NOD)
42C-----------------------------------------------
43C M o d u l e s
44C-----------------------------------------------
45 USE message_mod
46 USE elbufdef_mod
47 use element_mod , only : nixc,nixtg
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52#include "comlock.inc"
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56#include "com01_c.inc"
57#include "com04_c.inc"
58#include "param_c.inc"
59#include "scr17_c.inc"
60C-----------------------------------------------
61C D u m m y A r g u m e n t s
62C-----------------------------------------------
63C REAL
64 INTEGER
65 . IXC(NIXC,*), IXTG(NIXTG,*),IPARG(NPARG,*),
66 . IAD_ELEM(2,*), FR_ELEM(*), WEIGHT(*),
67 . IPART(LIPART1,*), IPARTC(*), IPARTTG(*),
68 . SH4TREE(KSH4TREE,*), SH3TREE(KSH3TREE,*)
70 . x(3,*), err_thk_sh4(*), err_thk_sh3(*)
71 TYPE(elbuf_struct_), DIMENSION(NGROUP) :: ELBUF_TAB
72 my_real AREA_SH4(NUMELC)
73 my_real AREA_SH3(NUMELTG)
74 my_real area_nod(numnod)
75 my_real thick_sh4(numelc)
76 my_real thick_sh3(numeltg)
77 my_real thick_nod(numnod)
78C-----------------------------------------------
79C L o c a l V a r i a b l e s
80C-----------------------------------------------
81 INTEGER IERROR
82C REAL
83C-----------------------------------------------
84C
85 IF(ierror/=0) THEN
86 CALL ancmsg(msgid=153,anmode=aninfo_blind,
87 . i1=ierror)
88 CALL arret(2)
89 END IF
90C
91 area_sh4=zero
92 area_sh3=zero
93C
94 area_nod =zero
95 thick_nod=zero
96C
97 err_thk_sh4(1:numelc) =zero
98 err_thk_sh3(1:numeltg)=zero
99C elts belonging to adapted parts
100 CALL admthke(
101 . ixc ,ixtg ,x ,iparg ,elbuf_tab,
102 . ipart ,ipartc ,iparttg ,iad_elem,fr_elem ,
103 . weight ,area_sh4,area_sh3,area_nod,thick_sh4 ,
104 . thick_sh3 ,thick_nod , err_thk_sh4, err_thk_sh3,
105 . sh4tree ,sh3tree )
106
107c-----------
108 RETURN
109 END
subroutine admerr(ixc, ixtg, x, iparg, elbuf_tab, ipart, ipartc, iparttg, err_thk_sh4, err_thk_sh3, iad_elem, fr_elem, weight, sh4tree, sh3tree, area_sh4, area_sh3, area_nod, thick_sh4, thick_sh3, thick_nod)
Definition admerr.F:42
subroutine admthke(ixc, ixtg, x, iparg, elbuf_tab, ipart, ipartc, iparttg, iad_elem, fr_elem, weight, area_sh4, area_sh3, area_nod, thick_sh4, thick_sh3, thick_nod, err_thk_sh4, err_thk_sh3, sh4tree, sh3tree)
Definition admthke.F:41
#define my_real
Definition cppsort.cpp:32
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:895
subroutine arret(nn)
Definition arret.F:86