Debian Codegraph @

packages/seacas/applications/blot/grexit.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 GREXIT
9 C=======================================================================
10
11 C --*** GREXIT *** (GRPLIB) Cleanup graphics for exit (PLT)
12 C -- Written by Amy Gilkey - revised 12/18/87
13 C --
14 C --GREXIT terminates graphic output.
15 C --
16 C --Common Variables:
17 C -- Uses DEVOK of /GRPCOM/
18
19 C --Routines Called:
20 C -- GRSNAP - (GRPLIB) Initialize frame snap
21 C -- PLTEND - (PLTLIB) Terminate graphics
22
23 PARAMETER (KDVDI=10000)
24
25 include 'grpcom.blk'
26
27 IF (DEVOK(1)) CALL GRSNAP ('EXIT', 1)
28 IF (DEVOK(2)) CALL GRSNAP ('EXIT', 2)
29
30 C --Turn on both graphics devices to ensure proper monitoring
31 IDEV = 0
32 IF (DEVOK(1)) IDEV = IDEV + 1
33 IF (DEVOK(2)) IDEV = IDEV + 2
34 CALL VDESCP (KDVDI + IDEV, 0, 0)
35
36 CALL PLTEND
37
38 RETURN
39 END