OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
message_mod2.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!|| message_mod2 ../engine/share/message_module/message_mod2.F
25!||--- called by ------------------------------------------------------
26!|| ancmsg ../engine/source/output/message/message.F
27!|| message_mod ../engine/share/message_module/message_mod.F
28!||--- uses -----------------------------------------------------
29!|| names_and_titles_mod ../common_source/modules/names_and_titles_mod.F
30!||====================================================================
31 MODULE message_mod2
32C
34 TYPE tmessage
35C message size
36 INTEGER SMESSAGE
37 CHARACTER(LEN=NCHARLINE100),DIMENSION(:), ALLOCATABLE :: message
38C dimension : size
39 END TYPE tmessage
40c
41C dimensions : size,title(=1)/desc(=2)
42 TYPE(tmessage), DIMENSION(:,:), ALLOCATABLE :: messages
43 INTEGER smessages
44
45 INTEGER smessagesmax
46 parameter(smessagesmax=200000)
47C This SMESSAGESMAX could be increased without problem
48C it is just a security because message structured object
49C is sized according maxid message read (to avoid to hanble an index)
50C so in case of error during read this bound will head to a clean error
51C better than a durty one
52
55
56 parameter(msginfo =0)
57 parameter(msgwarning=1)
58 parameter(msgerror =2)
59 parameter(anstop=1)
60 parameter(aninfo=2)
61 parameter(aninfo_blind =3)
62 parameter(aninfo_blind_1=3)
63 parameter(aninfo_blind_2=4)
64 parameter(aninfo_msg =4)
65
66 CHARACTER(LEN=NCHARLINE), DIMENSION(:), ALLOCATABLE :: messagesfile
67 INTEGER smessagesfile
68
69 INTEGER ncharout
70 parameter(ncharout=200)
71 END MODULE message_mod2
integer msg_print
integer smessagesfile
integer aninfo_blind_1
integer anstop
integer aninfo
integer aninfo_blind
type(tmessage), dimension(:,:), allocatable messages
integer msginfo
character(len=ncharline), dimension(:), allocatable messagesfile
integer ncharout
integer msgwarning
integer aninfo_msg
integer aninfo_blind_2
integer msgerror
integer smessagesmax
integer msg_cumu
integer smessages
integer, parameter ncharline100
integer, parameter ncharline