You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
966 B
31 lines
966 B
2 years ago
|
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
||
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
||
|
C NTESS, the U.S. Government retains certain rights in this software.
|
||
|
C
|
||
|
C See packages/seacas/LICENSE for details
|
||
|
|
||
|
C=======================================================================
|
||
|
SUBROUTINE CKWHOL (WHOTIM, *)
|
||
|
C=======================================================================
|
||
|
|
||
|
C --*** CKWHOL *** (ETCLIB) Check for whole time step
|
||
|
C -- Written by Amy Gilkey - revised 12/23/87
|
||
|
C --
|
||
|
C --CKWHOL prints an error message if the current time step is not
|
||
|
C --a whole time step.
|
||
|
C --
|
||
|
C --Parameters:
|
||
|
C -- WHOTIM - IN - true iff whole time step
|
||
|
C -- * - return statement if error
|
||
|
|
||
|
LOGICAL WHOTIM
|
||
|
|
||
|
IF (.NOT. WHOTIM) THEN
|
||
|
CALL PRTERR ('CMDERR',
|
||
|
& 'Only history variables are present on this time step')
|
||
|
RETURN 1
|
||
|
END IF
|
||
|
|
||
|
RETURN
|
||
|
END
|