Debian Codegraph @

packages/seacas/libraries/suplib/ckwhol.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 CKWHOL (WHOTIM, *)
9 C=======================================================================
10
11 C --*** CKWHOL *** (ETCLIB) Check for whole time step
12 C -- Written by Amy Gilkey - revised 12/23/87
13 C --
14 C --CKWHOL prints an error message if the current time step is not
15 C --a whole time step.
16 C --
17 C --Parameters:
18 C -- WHOTIM - IN - true iff whole time step
19 C -- * - return statement if error
20
21 LOGICAL WHOTIM
22
23 IF (.NOT. WHOTIM) THEN
24 CALL PRTERR ('CMDERR',
25 & 'Only history variables are present on this time step')
26 RETURN 1
27 END IF
28
29 RETURN
30 END