OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
analyse_out.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/.
23C
24C
25!||====================================================================
26!|| writc ../starter/source/output/analyse/analyse_out.F
27!||--- called by ------------------------------------------------------
28!|| wiout ../starter/source/output/analyse/analyse_out.F
29!|| wistdo ../starter/source/output/analyse/analyse_out.F
30!||====================================================================
31 SUBROUTINE writc(UNIT,LENGTH,TABINT)
32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C D u m m y A r g u m e n t s
38C-----------------------------------------------
39 INTEGER LENGTH, UNIT
40 INTEGER TABINT(*)
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 CHARACTER*80 MESSAGE
45 INTEGER I, LMESS
46C
47 message = ' '
48C
49 lmess = 0
50C
51 DO i=1, length
52 lmess = lmess + 1
53C
54 IF (tabint(i) == 10) THEN
55 IF (lmess > 1) THEN
56 WRITE(unit,'(A)') message(1:lmess-1)
57 ELSE
58 WRITE(unit,'(A)') ' '
59 ENDIF
60 lmess = 0
61 ELSEIF ( lmess ==80 ) THEN
62 message(lmess:lmess)=char(tabint(i))
63 WRITE(unit,'(A)') message(1:lmess)
64 lmess = 0
65 ELSE
66 message(lmess:lmess)=char(tabint(i))
67 ENDIF
68C
69 ENDDO
70C
71 IF (lmess > 0) THEN
72 WRITE(unit,'(A)') message(1:lmess)
73 ENDIF
74C
75 RETURN
76 END
77C
78C
79C
80!||====================================================================
81!|| wiout ../starter/source/output/analyse/analyse_out.F
82!||--- calls -----------------------------------------------------
83!|| writc ../starter/source/output/analyse/analyse_out.F
84!||====================================================================
85 INTEGER FUNCTION wiout(LENGTH,TABINT)
86C-----------------------------------------------
87C I m p l i c i t T y p e s
88C-----------------------------------------------
89#include "implicit_f.inc"
90C-----------------------------------------------
91C G l o b a l P a r a m e t e r s
92C-----------------------------------------------
93#include "units_c.inc"
94C-----------------------------------------------
95C D u m m y A r g u m e n t s
96C-----------------------------------------------
97 INTEGER length
98 INTEGER tabint(*)
99C
100 CALL writc(iout,length,tabint)
101 wiout = 0
102 RETURN
103C
104 END
105C
106C
107C
108!||====================================================================
109!|| wistdo ../starter/source/output/analyse/analyse_out.F
110!||--- calls -----------------------------------------------------
111!|| writc ../starter/source/output/analyse/analyse_out.F
112!||====================================================================
113 INTEGER FUNCTION wistdo(LENGTH,TABINT)
114C-----------------------------------------------
115C I m p l i c i t T y p e s
116C-----------------------------------------------
117#include "implicit_f.inc"
118C-----------------------------------------------
119C G l o b a l P a r a m e t e r s
120C-----------------------------------------------
121#include "units_c.inc"
122C-----------------------------------------------
123C D u m m y A r g u m e n t s
124C-----------------------------------------------
125 INTEGER length
126 INTEGER tabint(*)
127C
128 CALL writc(istdo,length,tabint)
129C
130 wistdo = 0
131 RETURN
132 END
133C
134C
135C
integer function wiout(length, tabint)
Definition analyse_out.F:86
integer function wistdo(length, tabint)
subroutine writc(unit, length, tabint)
Definition analyse_out.F:32