WAVEWATCH III  beta 0.0.1
w3macros.h
Go to the documentation of this file.
1 !/ ------------------------------------------------------------------- /
2 !/ Preprocessing macros
3 !/
4 !/ +-----------------------------------+
5 !/ | WAVEWATCH III NOAA/NCEP |
6 !/ | T. J. Campbell, NRL |
7 !/ | CPP |
8 !/ | Last update : 26-Oct-2015 |
9 !/ +-----------------------------------+
10 !/
11 !/ 10-Dec-2014 : Origination. ( version 5.04 )
12 !/ 26-Oct-2015 : Replace C style comments with Fortran
13 !/ style comments. ( version 5.09 )
14 !/
15 !/ 1. Purpose :
16 !/
17 !/ Define preprocessor macros for WW3 ftn source code.
18 !/
19 !/ 2. Method :
20 !/
21 !/ 3. Parameters :
22 !/
23 !/ 4. Subroutines used :
24 !/
25 !/ 5. Called by :
26 !/
27 !/ 6. Error messages :
28 !/
29 !/ 7. Remarks :
30 !/
31 !/ This file uses Fortran style comments, and hence, can only be
32 !/ included in the Fortran (ftn) source files. The Fortran style
33 !/ comments are used because not all Fortran pre-processors recognize
34 !/ the C style comments.
35 !/
36 !/ The __FILE__ and __LINE__ macros are defined by CPP.
37 !/
38 !/ 8. Structure :
39 !/
40 !/ See source code.
41 !/
42 !/ 9. Source code :
43 !/
44 !/ ------------------------------------------------------------------- /
45 
46 !/
47 !/ Macros to wrap checking allocate/deallocate status
48 !/
49 #define CHECK_ALLOC_STATUS( STAT ) \
50  IF ( STAT .NE. 0 ) \
51  CALL EXTCDE ( 99, MSG="ALLOCATE FAILED", FILE=__FILE__, LINE=__LINE__ )
52 #define CHECK_DEALLOC_STATUS( STAT ) \
53  IF ( STAT .NE. 0 ) \
54  CALL EXTCDE ( 99, MSG="DEALLOCATE FAILED", FILE=__FILE__, LINE=__LINE__ )
55 
56 !/
57 !/ End of w3macros.h ------------------------------------------------- /
58 !/
Campbell
Preprocessing macros WAVEWATCH III NOAA NCEP T J Campbell
Definition: w3macros.h:6
scrip_timers::status
character(len=8), dimension(max_timers), save status
Definition: scrip_timers.f:63
file
file(STRINGS ${CMAKE_BINARY_DIR}/switch switch_strings) separate_arguments(switches UNIX_COMMAND $
Definition: CMakeLists.txt:3
update
Preprocessing macros WAVEWATCH III NOAA NCEP T J NRL CPP Last update
Definition: w3macros.h:31
hence
Preprocessing macros WAVEWATCH III NOAA NCEP T J NRL CPP Last and hence
Definition: w3macros.h:31