| 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 FFADDV (IRANGE, LINE) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** FFADDV *** (FFLIB) Add integer range to line |
| 12 |
C -- Written by Amy Gilkey - revised 11/16/87 |
| 13 |
C -- |
| 14 |
C --FFADDV adds an integer range (as a character string) to a line. |
| 15 |
C -- |
| 16 |
C --Parameters: |
| 17 |
C -- IRANGE - IN - the integer range to add; |
| 18 |
C -- IRANGE(1) TO IRANGE(2) BY IRANGE(3) |
| 19 |
C -- LINE - IN/OUT - the line being built |
| 20 |
|
| 21 |
INTEGER IRANGE(3) |
| 22 |
CHARACTER*(*) LINE |
| 23 |
|
| 24 |
CALL FFADDI (IRANGE(1), LINE) |
| 25 |
IF (IRANGE(2) .NE. IRANGE(1)) THEN |
| 26 |
CALL FFADDC ('TO', LINE) |
| 27 |
CALL FFADDI (IRANGE(2), LINE) |
| 28 |
END IF |
| 29 |
IF (IRANGE(3) .NE. 1) THEN |
| 30 |
CALL FFADDC ('BY', LINE) |
| 31 |
CALL FFADDI (IRANGE(3), LINE) |
| 32 |
END IF |
| 33 |
|
| 34 |
RETURN |
| 35 |
END |