Debian Codegraph @

packages/seacas/applications/algebra/ag_dboqa.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 C=======================================================================
7 SUBROUTINE DBOQA (NDB, QAINFO, NQAREC, QAREC, NINFO, INFO)
8 C=======================================================================
9
10 C --*** DBOQA *** (EXOLIB) Write QA and information records
11 C -- Written by Amy Gilkey - revised 02/08/88
12 C -- Modified by for EXODUSIIV2- 9/11/95
13 C --
14 C --Parameters:
15 C -- NDB - IN - the database number
16 C -- QAINFO - IN - the QA record for the current run of algebra
17 C -- NQAREC - IN - the number of QA records written only if >= 0
18 C -- QAREC - IN - the QA records containing:
19 C -- (1) - the analysis code name
20 C -- (2) - the analysis code QA descriptor
21 C -- (3) - the analysis date
22 C -- (4) - the analysis time
23 C -- NINFO - IN - the number of information records; written only if >= 0
24 C -- INFO - IN - the information records
25
26 include 'exodusII.inc'
27
28 INTEGER NDB
29 CHARACTER*(MXSTLN) QAINFO(6)
30 CHARACTER*(MXSTLN) QAREC(4,*)
31 CHARACTER*(MXLNLN) INFO(*)
32
33 nqarec = nqarec + 1
34 QAREC(1,nqarec) = QAINFO(1)
35 QAREC(2,nqarec) = QAINFO(3)
36 QAREC(3,nqarec) = QAINFO(5)
37 QAREC(4,nqarec) = QAINFO(6)
38
39 C Write QA records to the file ndbout
40 C There is always at least one QA record
41 call expqa(ndb, nqarec, qarec, ierr)
42
43 C Write information records to the file ndbout
44 IF (NINFO .GT. 0) THEN
45 call expinf(ndb, ninfo, info, ierr)
46 END IF
47
48 RETURN
49 END