Debian Codegraph @

packages/seacas/applications/numbers/nu_getden.f

raw
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 GETDEN (MAT, DEN, NELBLK, LABEL)
8 DIMENSION MAT(6,*), DEN(*)
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 DENSITY, 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 DEN(I) = RV(1)
22 LABEL(I) = CV(2)
23 40 CONTINUE
24 RETURN
25 END