| 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 INIINT (LEN, IFROM, ITO) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** INIINT *** (ETCLIB) Initialize all integers in list |
| 12 |
C -- Written by Amy Gilkey - revised 03/15/88 |
| 13 |
C -- |
| 14 |
C --INIINT initializes all the integers in a list to a specified value. |
| 15 |
C -- |
| 16 |
C --Parameters: |
| 17 |
C -- LEN - IN - the number of integers in the list |
| 18 |
C -- IFROM - IN - the initial value |
| 19 |
C -- ITO - OUT - the initialized list |
| 20 |
|
| 21 |
INTEGER LEN |
| 22 |
INTEGER IFROM |
| 23 |
INTEGER ITO(*) |
| 24 |
|
| 25 |
DO 100 I = 1, LEN |
| 26 |
ITO(I) = IFROM |
| 27 |
100 CONTINUE |
| 28 |
|
| 29 |
RETURN |
| 30 |
END |