1 !/ ------------------------------------------------------------------- /
2 !/ Preprocessing macros
4 !/ +-----------------------------------+
5 !/ | WAVEWATCH III NOAA/NCEP |
8 !/ | Last
update : 26-Oct-2015 |
9 !/ +-----------------------------------+
11 !/ 10-Dec-2014 : Origination. ( version 5.04 )
12 !/ 26-Oct-2015 : Replace C style comments with Fortran
13 !/ style comments. ( version 5.09 )
17 !/ Define preprocessor macros
for WW3 ftn source code.
23 !/ 4. Subroutines used :
27 !/ 6. Error messages :
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.
36 !/ The __FILE__ and __LINE__ macros are defined by CPP.
44 !/ ------------------------------------------------------------------- /
47 !/ Macros to wrap checking allocate/deallocate
status
49 #define CHECK_ALLOC_STATUS( STAT ) \
51 CALL EXTCDE ( 99, MSG="ALLOCATE FAILED", FILE=__FILE__, LINE=__LINE__ )
52 #define CHECK_DEALLOC_STATUS( STAT ) \
54 CALL EXTCDE ( 99, MSG="DEALLOCATE FAILED", FILE=__FILE__, LINE=__LINE__ )
57 !/ End of w3macros.h ------------------------------------------------- /