| 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 INITIN (LIST, LLIST, IVAL) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** INITIN *** (GJOIN) Initializes a list |
| 12 |
C -- Written by Amy Gilkey - revised 09/29/87 |
| 13 |
C -- |
| 14 |
C --INITIN initializes a list to a given value. |
| 15 |
C -- |
| 16 |
C --Parameters: |
| 17 |
C -- LIST - OUT - the list of integers |
| 18 |
C -- LLIST - IN - the length of LIST |
| 19 |
C -- IVAL - IN - the initialization value |
| 20 |
|
| 21 |
INTEGER LIST(*) |
| 22 |
|
| 23 |
DO 100 I = 1, LLIST |
| 24 |
LIST(I) = IVAL |
| 25 |
100 CONTINUE |
| 26 |
|
| 27 |
RETURN |
| 28 |
END |