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

Go to the source code of this file.

Functions/Subroutines

subroutine redsqi (ia, l, iform)

Function/Subroutine Documentation

◆ redsqi()

subroutine redsqi ( integer, dimension(*) ia,
integer l,
integer iform )

Definition at line 38 of file redsqi.F.

39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER L, IFORM
47 INTEGER IA(*)
48C-----------------------------------------------
49C C o m m o n B l o c k s
50C-----------------------------------------------
51#include "scr13_c.inc"
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER LREC, L1, L2, I
56 CHARACTER STR(10)*8
57C-----------------------------------------------
58C E x t e r n a l F u n c t i o n s
59C-----------------------------------------------
60 INTEGER ISTR
61C-----------------------------------------------
62 EXTERNAL istr
63 IF (l==0)RETURN
64 IF (mod(iform,5)==1)THEN
65 lrec=10
66 ELSE
67 lrec=2000
68 ENDIF
69C
70 l1=1
71 l2=lrec
72 1 l2=min(l,l2)
73 IF (mod(iform,5)==1)THEN
74 READ(iunit,'(10A8)') (str(i),i=1,10)
75 DO 100 i=l1,l2
76 ia(i)=istr(str(i-l1+1))
77 100 CONTINUE
78 ELSE
79 READ(iunit) (ia(i),i=l1,l2)
80 ENDIF
81 IF(l2==l)RETURN
82 l1=l2+1
83 l2=l1+lrec-1
84 GOTO 1
#define min(a, b)
Definition macros.h:20
integer function istr(str)
Definition istr.F:31