You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
838 B
25 lines
838 B
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
|
C NTESS, the U.S. Government retains certain rights in this software.
|
|
C
|
|
C See packages/seacas/LICENSE for details
|
|
|
|
SUBROUTINE GETDEN (MAT, DEN, NELBLK, LABEL)
|
|
DIMENSION MAT(6,*), DEN(*)
|
|
DIMENSION IDUM(4), RV(4), KV(4)
|
|
CHARACTER*16 LABEL(*), CV(4)
|
|
CHARACTER*32 PRMPT
|
|
|
|
WRITE (*, 20)
|
|
20 FORMAT (/,' Input DENSITY, and NAME: ')
|
|
DO 40 IBLK=1,NELBLK
|
|
I = MAT(6,IBLK)
|
|
WRITE (PRMPT, 30) MAT(1,I)
|
|
30 FORMAT (' Material ',I5,' > ')
|
|
CALL FREFLD (0, 0, PRMPT(:LENSTR(PRMPT)+1), 2, IOS,
|
|
* NF, KV, CV, IDUM, RV)
|
|
DEN(I) = RV(1)
|
|
LABEL(I) = CV(2)
|
|
40 CONTINUE
|
|
RETURN
|
|
END
|
|
|