Debian Codegraph @

packages/seacas/applications/grepos/gp_dbist1.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 C=======================================================================
8 SUBROUTINE DBIST1 (NDB, NVARNP, NVARDM, NUMNP, VARNP, IVAR, *)
9 C=======================================================================
10
11 C --*** DBIST1 *** (EXOLIB) Internal to DBISTE, Read nodal variables
12 C -- Written by Greg Sjaardema 8/8/90, to remove MAX from dimensions
13 C --
14 C --DBIST1 reads the database nodal variables for one time step.
15 C --
16 C --Parameters:
17 C -- NDB - IN - the database number
18 C -- NVARNP - IN - the number of nodal variables
19 C -- NVARDM - IN - the row dimension of VARNP
20 C -- NUMNP - IN - the number of nodes
21 C -- VARNP - OUT - the nodal variables for the time step (if OPTION)
22 C -- IVAR - OUT - the nodal variable number if error on read.
23 C -- * - return statement if error encountered, including end-of-file;
24 C -- message is printed
25 C --
26 INTEGER NDB
27 INTEGER NVARNP, NVARDM, NUMNP
28 REAL VARNP(NVARDM,*)
29
30 DO 100 IVAR = 1, NVARNP
31 READ (NDB, END=190, ERR=190, IOSTAT=IERR)
32 & (VARNP(IVAR,INP), INP=1,NUMNP)
33 100 CONTINUE
34 RETURN
35 190 CONTINUE
36 RETURN 1
37 END