Debian Codegraph @

packages/seacas/libraries/suplib/iowdsz.f

raw
1 C Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 C NTESS, the U.S. Government retains certain rights in this software.
4 C
5 C See packages/seacas/LICENSE for details
6
7 C=======================================================================
8 INTEGER FUNCTION IOWDSZ()
9 C=======================================================================
10 C convenience function for setting desired exodusII output word size
11 C via the EXT05 environment variable.
12
13 character*80 ws
14 character*8 cdum
15
16 iows = 4
17 call exname (-5, ws, llen)
18 if (llen .lt. 1) goto 25
19 read(ws,'(i1)',ERR=25)iows
20 if (iows .ne. 4 .and. iows .ne. 8) then
21 CALL PRTERR('WARNING', 'invalid output word size, set to 4')
22 iows = 4
23 endif
24 goto 26
25 25 continue
26
27 call exparm (cdum, cdum, idum, iows, idum, idum)
28 26 continue
29 iowdsz = iows
30 return
31 end