Debian Codegraph @

packages/seacas/libraries/suplib/cpyint.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 SUBROUTINE CPYINT (LEN, IFROM, ITO)
9 C=======================================================================
10 C --*** CPYINT *** (ETCLIB) Copy all integers in list
11 C -- Written by Amy Gilkey - revised 11/03/87
12 C --
13 C --CPYINT copies all the integers in a list to another list.
14 C --
15 C --Parameters:
16 C -- LEN - IN - the number of integers in the list
17 C -- IFROM - IN - the input list
18 C -- ITO - OUT - the copied list
19
20 INTEGER LEN
21 INTEGER IFROM(*), ITO(*)
22
23 DO 100 I = 1, LEN-7,8
24 ITO(I+0) = IFROM(I+0)
25 ITO(I+1) = IFROM(I+1)
26 ITO(I+2) = IFROM(I+2)
27 ITO(I+3) = IFROM(I+3)
28 ITO(I+4) = IFROM(I+4)
29 ITO(I+5) = IFROM(I+5)
30 ITO(I+6) = IFROM(I+6)
31 ITO(I+7) = IFROM(I+7)
32 100 CONTINUE
33 do 110 J = I, LEN
34 ITO(J) = IFROM(J)
35 110 continue
36
37 RETURN
38 END