OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
radioss_title.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!|| radioss_title ../starter/source/starter/radioss_title.F
25!||--- called by ------------------------------------------------------
26!|| checksum_check ../starter/source/output/checksum/checksum_check.F90
27!|| starter0 ../starter/source/starter/starter0.F
28!||--- calls -----------------------------------------------------
29!|| printcenter ../starter/source/starter/radioss_title.F
30!||====================================================================
31 SUBROUTINE radioss_title(IOUT,CPUNAM,ARCHTITLE,
32 * FILNAM,ROOTLEN,CHRUN,IRESP,IFLAG)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "build_info.inc"
41#include "commandline.inc"
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER IOUT,ROOTLEN,IRESP,IFLAG
46 CHARACTER(LEN=2148) :: FILNAM
47 CHARACTER CPUNAM*20,CHRUN*4,ARCHTITLE*66
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER LEN,LEN_RAD,LENCPUNAM,LENARCHTIT,CT,RESC,LBT
52 CHARACTER RADVERS*68,COPYRIGHTLINE*68
53C-----------------------------------------------
54 len=len_trim(vers)
55
56 IF( got_inspire_alm == 1)THEN
57 WRITE(radvers,'(A,A)') 'Altair Solver ',vers
58 len = len + 15
59 ELSE
60 WRITE(radvers,'(A)') 'OpenRadioss Starter'
61 len = len_trim(radvers)
62 ENDIF
63
64 lbt=len_trim(btag)
65 lencpunam=len_trim(cpunam)
66 lenarchtit=len_trim(archtitle)
67 yearstring(1:4)=bdate(8:11)
68 WRITE(copyrightline,'(A,A,A)') 'COPYRIGHT (C) 1986-'//yearstring(1:4)//' Altair Engineering, Inc.'
69
70 CALL printcenter(" ",0,iout,1)
71 CALL printcenter(" ",0,iout,0)
72 CALL printcenter(" ",0,iout,0)
73 CALL printcenter(radvers,len,iout,2)
74 CALL printcenter(" ",0,iout,0)
75 CALL printcenter("Non-linear Finite Element Analysis Software",
76 . 43,iout,2)
77 CALL printcenter(" ",0,iout,0)
78 CALL printcenter(" ",0,iout,0)
79 CALL printcenter(" ",0,iout,0)
80 CALL printcenter(archtitle,lenarchtit,iout,2)
81 IF (iresp == 1) THEN
82 CALL printcenter("Extended Single Precision Version",33,iout,2)
83 ELSE
84 CALL printcenter("Double Precision Version",24,iout,2)
85 ENDIF
86 IF (pmsg ==1)THEN
87 CALL printcenter(msgo,len_msg,iout,2)
88 ELSE
89 CALL printcenter(" ",0,iout,0)
90 ENDIF
91 CALL printcenter(" ",0,iout,0)
92 CALL printcenter(btag,lbt,iout,3)
93 CALL printcenter(" ",0,iout,1)
94 CALL printcenter("OpenRadioss Software",20,iout,3)
95 CALL printcenter(copyrightline,64,iout,3)
96 CALL printcenter("Licensed under GNU Affero General Public License.",49,iout,3)
97 CALL printcenter("See License file.",17,iout,3)
98 CALL printcenter(" ",0,iout,1)
99 WRITE(iout,'(A)') ' '
100
101 END
102
103
104!||====================================================================
105!|| printcenter ../starter/source/starter/radioss_title.F
106!||--- called by ------------------------------------------------------
107!|| r2r_group ../starter/source/coupling/rad2rad/r2r_group.F
108!|| radioss_title ../starter/source/starter/radioss_title.F
109!|| starter0 ../starter/source/starter/starter0.f
110!||====================================================================
111 SUBROUTINE printcenter(ARRAY,ARRLEN,LINOUT,FLAG)
112C-----------------------------------------------
113C I m p l i c i t T y p e s
114C-----------------------------------------------
115#include "implicit_f.inc"
116C-----------------------------------------------
117C D u m m y A r g u m e n t s
118C-----------------------------------------------
119 INTEGER ARRLEN, LINOUT,FLAG
120 CHARACTER ARRAY(*)
121C-----------------------------------------------
122C L o c a l V a r i a b l e s
123C-----------------------------------------------
124 CHARACTER PRINTOUT(72)
125 INTEGER POS,I
126C-----------------------------------------------
127C Initialisation
128 printout=' '
129 printout(1)='*'
130 printout(2)='*'
131 printout(71)='*'
132 printout(72)='*'
133
134C Flag = 0 ligne blanche
135
136 IF (flag==1)THEN
137C Flag = 1 que des * dans la ligne
138 printout(1:72)='*'
139
140
141 ELSEIF (flag==2) THEN
142C du texte center
143
144C Test si sortie n'excede pas 68 cararcteres
145 IF (arrlen>68) THEN
146 WRITE(linout,'(A)') "ERROR PRINTOUT FORMAT"
147 RETURN
148 ENDIF
149
150 pos= 3+(68-arrlen)/2
151
152 DO i=1,arrlen
153 printout(pos+i-1)=array(i)
154 ENDDO
155
156 ELSEIF (flag==3) THEN
157C print left
158 pos = 4
159 DO i=1,arrlen
160 printout(pos+i-1)=array(i)
161 ENDDO
162
163
164 ENDIF
165
166 WRITE(linout,'(72A)') printout
167
168 END
subroutine starter0
Definition starter0.F:79
subroutine radioss_title(iout, cpunam, archtitle, filnam, rootlen, chrun, iresp, iflag)
subroutine printcenter(array, arrlen, linout, flag)
program starter
Definition starter.F:39