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