OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_chkw.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine spmd_chkw (iwiout, iout)

Function/Subroutine Documentation

◆ spmd_chkw()

subroutine spmd_chkw ( integer iwiout,
integer iout )

Definition at line 37 of file spmd_chkw.F.

38 USE message_mod
39 USE io_mod
40C----6---------------------------------------------------------------7---------8
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER IWIOUT, IOUT
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER IOS
52 CHARACTER(LEN=NCHAROUT) :: LINE
53C-----------------------------------------------
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
61C calcul du nombre exacte de ligne de 80c
62 iwiout = iwiout + ncharout
63 ENDIF
64 ENDDO
65 iwiout_save = iwiout
66C ajout rewind ds ts les cas (necessaire sur sgi au moins)
67 rewind(unit=iout)
68 READ(unit=iout,iostat=ios,fmt='(A)')
69C
70 RETURN
integer iwiout_save
Definition io_mod.F:30