| 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 |
C======================================================================= |
| 7 |
SUBROUTINE RDTIMS (NDB, TIMES) |
| 8 |
C======================================================================= |
| 9 |
|
| 10 |
C --*** RDTIMS *** (EXPLORE) Read database time step times |
| 11 |
C -- |
| 12 |
C --RDTIMS reads all time steps of the database, storing the |
| 13 |
C --time for each step. |
| 14 |
C -- |
| 15 |
C --Parameters: |
| 16 |
C -- NDB - IN - the database number |
| 17 |
C -- TIMES - OUT - the time step times |
| 18 |
|
| 19 |
include 'exodusII.inc' |
| 20 |
REAL TIMES(*) |
| 21 |
|
| 22 |
CHARACTER*80 ERRMSG |
| 23 |
|
| 24 |
call exgatm(ndb, times, ierr) |
| 25 |
if (ierr .ne. 0) go to 140 |
| 26 |
|
| 27 |
return |
| 28 |
|
| 29 |
140 CONTINUE |
| 30 |
WRITE (ERRMSG, 10010) 'TIME STEP TIME' |
| 31 |
CALL WDBERR (IERR, ERRMSG) |
| 32 |
|
| 33 |
RETURN |
| 34 |
|
| 35 |
10010 FORMAT (A) |
| 36 |
END |