| 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 SCAINI (NELB, NVAR, ISTMN) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** SCAINI *** (BLOT) Initialize variable min/max |
| 12 |
C -- Written by Amy Gilkey - revised 04/01/88 |
| 13 |
C -- |
| 14 |
C --SCAINI initializes the variable minimums and maximums to uncalculated. |
| 15 |
C --ISTMN is the "state" of the minimums and maximums: <0 if not calculated, |
| 16 |
C --0 if no elements in element block, +n if calculated |
| 17 |
C -- |
| 18 |
C --Parameters: |
| 19 |
C -- NELB - IN - the number of element blocks (NELBLK for element, |
| 20 |
C -- else 0) |
| 21 |
C -- NVAR - IN - the number of variables of this type |
| 22 |
C -- ISTMN - OUT - initialized to -999 |
| 23 |
|
| 24 |
INTEGER ISTMN(0:NELB,*) |
| 25 |
|
| 26 |
DO 110 IXVAR = 1, NVAR |
| 27 |
DO 100 IELB = 0, NELB |
| 28 |
ISTMN(IELB,IXVAR) = -999 |
| 29 |
100 CONTINUE |
| 30 |
110 CONTINUE |
| 31 |
|
| 32 |
RETURN |
| 33 |
END |