| 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 |
REAL FUNCTION CNTRI (ICNTR) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** CNTRI *** (DETOUR) Return contour value |
| 12 |
C -- Written by Amy Gilkey - revised 06/04/87 |
| 13 |
C -- |
| 14 |
C --CNTRI returns the requested contour interval, which is either derived |
| 15 |
C --from CMIN and DELC or specified in CINTV. |
| 16 |
C -- |
| 17 |
C --Parameters: |
| 18 |
C -- ICNTR - IN - the contour interval to be returned |
| 19 |
C -- |
| 20 |
C --Common Variables: |
| 21 |
C -- Uses CINTOK, CMIN, DELC, CINTV of /CNTR/ |
| 22 |
|
| 23 |
include 'cntr.blk' |
| 24 |
|
| 25 |
IF (.NOT. CINTOK) THEN |
| 26 |
CNTRI = CMIN + (ICNTR-1) * DELC |
| 27 |
ELSE |
| 28 |
CNTRI = CINTV(ICNTR) |
| 29 |
END IF |
| 30 |
|
| 31 |
RETURN |
| 32 |
END |