OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
spmd_chkw.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
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
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
71 END SUBROUTINE
integer iwiout_save
Definition io_mod.F:30
subroutine spmd_chkw(iwiout, iout)
Definition spmd_chkw.F:38