OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_chkw.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
C
24
!||====================================================================
25
!|| spmd_chkw ../engine/source/mpi/generic/spmd_chkw.F
26
!||--- called by ------------------------------------------------------
27
!|| fvstats ../engine/source/airbag/fvstats.F
28
!|| fxbypid ../engine/source/constraints/fxbody/fxbypid.F
29
!|| lectur ../engine/source/input/lectur.F
30
!|| rbypid ../engine/source/constraints/general/rbody/rbypid.F
31
!|| resol ../engine/source/engine/resol.F
32
!|| sz_print ../engine/source/output/restart/arralloc.F
33
!||--- uses -----------------------------------------------------
34
!|| io_mod ../engine/share/modules/io_mod.F
35
!|| message_mod ../engine/share/message_module/message_mod.F
36
!||====================================================================
37
SUBROUTINE
spmd_chkw
(IWIOUT,IOUT)
38
USE
message_mod
39
USE
io_mod
40
C----6---------------------------------------------------------------7---------8
41
C I m p l i c i t T y p e s
42
C-----------------------------------------------
43
#include "implicit_f.inc"
44
C-----------------------------------------------------------------
45
C D u m m y A r g u m e n t s
46
C-----------------------------------------------
47
INTEGER
IWIOUT, IOUT
48
C-----------------------------------------------
49
C L o c a l V a r i a b l e s
50
C-----------------------------------------------
51
INTEGER
IOS
52
CHARACTER(LEN=NCHAROUT)
:: LINE
53
C-----------------------------------------------
54
iwiout_save
= 0
55
rewind(unit=iout)
56
READ
(unit=iout,iostat=ios,fmt=
'(A)'
)
57
ios = 0
58
DO
WHILE
(ios==0)
59
READ
(unit=iout,iostat=ios,fmt=
'(A)'
) line
60
IF
(ios==0)
THEN
61
C calcul du nombre exacte de ligne de 80c
62
iwiout = iwiout + ncharout
63
ENDIF
64
ENDDO
65
iwiout_save
= iwiout
66
C ajout rewind ds ts les cas (necessaire sur sgi au moins)
67
rewind(unit=iout)
68
READ
(unit=iout,iostat=ios,fmt=
'(A)'
)
69
C
70
RETURN
71
END SUBROUTINE
io_mod
Definition
io_mod.F:29
io_mod::iwiout_save
integer iwiout_save
Definition
io_mod.F:30
message_mod
Definition
message_mod.F:1249
spmd_chkw
subroutine spmd_chkw(iwiout, iout)
Definition
spmd_chkw.F:38
engine
source
mpi
generic
spmd_chkw.F
Generated by
1.15.0