| 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 |
SUBROUTINE GETWAV (MAT, WAVE, NELBLK, LABEL) |
| 8 |
DIMENSION MAT(6,*), WAVE(*) |
| 9 |
DIMENSION IDUM(4), RV(4), KV(4) |
| 10 |
CHARACTER*16 LABEL(*), CV(4) |
| 11 |
CHARACTER*32 PRMPT |
| 12 |
|
| 13 |
WRITE (*, 20) |
| 14 |
20 FORMAT (/,' Input WAVESPEED, and NAME: ') |
| 15 |
DO 40 IBLK=1,NELBLK |
| 16 |
I = MAT(6,IBLK) |
| 17 |
WRITE (PRMPT, 30) MAT(1,I) |
| 18 |
30 FORMAT (' Material ',I5,' > ') |
| 19 |
CALL FREFLD (0, 0, PRMPT(:LENSTR(PRMPT)+1), 2, IOS, |
| 20 |
* NF, KV, CV, IDUM, RV) |
| 21 |
WAVE(I) = RV(1) |
| 22 |
IF (KV(2) .NE. -1) LABEL(I) = CV(2) |
| 23 |
40 CONTINUE |
| 24 |
RETURN |
| 25 |
END |