| 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 DBOQA (NDB, NQAREC, QAREC, NINFO, INFO) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C --*** DBOQA *** (EXOLIB) Write QA and information records |
| 12 |
C -- Written by Amy Gilkey - revised 02/08/88 |
| 13 |
C -- |
| 14 |
C --DBOQA writes the QA records and the information records. |
| 15 |
C -- |
| 16 |
C --Parameters: |
| 17 |
C -- NDB - IN - the database number |
| 18 |
C -- NQAREC - IN - the number of QA records (must be at least one); |
| 19 |
C -- written only if >= 0 |
| 20 |
C -- QAREC - IN - the QA records containing: |
| 21 |
C -- (1) - the analysis code name |
| 22 |
C -- (2) - the analysis code QA descriptor |
| 23 |
C -- (3) - the analysis date |
| 24 |
C -- (4) - the analysis time |
| 25 |
C -- NINFO - IN - the number of information records; written only if >= 0 |
| 26 |
C -- INFO - IN - the information records |
| 27 |
C -- |
| 28 |
C --Database must be positioned at start of QA records upon entry; |
| 29 |
C --upon exit positioned at end of information records. |
| 30 |
|
| 31 |
INTEGER NDB |
| 32 |
INTEGER NQAREC |
| 33 |
CHARACTER*8 QAREC(4,*) |
| 34 |
INTEGER NINFO |
| 35 |
CHARACTER*80 INFO(*) |
| 36 |
|
| 37 |
IF (NQAREC .LT. 0) GOTO 120 |
| 38 |
|
| 39 |
WRITE (NDB) NQAREC |
| 40 |
|
| 41 |
DO 100 IQA = 1, NQAREC |
| 42 |
WRITE (NDB) (QAREC(I,IQA), I=1,4) |
| 43 |
100 CONTINUE |
| 44 |
|
| 45 |
IF (NINFO .LT. 0) GOTO 120 |
| 46 |
|
| 47 |
WRITE (NDB) NINFO |
| 48 |
|
| 49 |
DO 110 I = 1, NINFO |
| 50 |
WRITE (NDB) INFO(I) |
| 51 |
110 CONTINUE |
| 52 |
|
| 53 |
120 CONTINUE |
| 54 |
RETURN |
| 55 |
END |