LIS NUOPC Cap
 All Classes Files Functions Variables Macros Pages
LIS_NUOPC_Macros.h
Go to the documentation of this file.
1 !-----------------------BEGIN NOTICE -- DO NOT EDIT-----------------------
2 ! NASA Goddard Space Flight Center Land Information System (LIS) v7.0
3 !-------------------------END NOTICE -- DO NOT EDIT-----------------------
4 
5 !-------------------------------------------------------------------------------
6 ! LIS NUOPC CPP Macros
7 !-------------------------------------------------------------------------------
8 #ifndef FILENAME
9 #define FILENAME __FILE__
10 #endif
11 #define CONTEXT line=__LINE__,file=FILENAME
12 #define PASSTHRU msg=ESMF_LOGERR_PASSTHRU,CONTEXT
13 #define ESMF_STDERRORCHECK(rc) ESMF_LogFoundError(rcToCheck=rc,msg=ESMF_LOGERR_PASSTHRU,line=__LINE__,file=__FILE__)
14 
15 !-------------------------------------------------------------------------------
16 ! Define ESMF real kind to match Appplications single/double precision
17 !-------------------------------------------------------------------------------
18 #if defined(REAL4)
19 #define ESMF_KIND_FIELD ESMF_KIND_R4
20 #define ESMF_KIND_COORD ESMF_KIND_R4
21 #define ESMF_TYPEKIND_FIELD ESMF_TYPEKIND_R4
22 #define ESMF_TYPEKIND_COORD ESMF_TYPEKIND_R4
23 #elif defined(REAL8)
24 #define ESMF_KIND_FIELD ESMF_KIND_R8
25 #define ESMF_KIND_COORD ESMF_KIND_R8
26 #define ESMF_TYPEKIND_FIELD ESMF_TYPEKIND_R8
27 #define ESMF_TYPEKIND_COORD ESMF_TYPEKIND_R8
28 #else
29 #define ESMF_KIND_FIELD ESMF_KIND_R4
30 #define ESMF_KIND_COORD ESMF_KIND_R8
31 #define ESMF_TYPEKIND_FIELD ESMF_TYPEKIND_R4
32 #define ESMF_TYPEKIND_COORD ESMF_TYPEKIND_R8
33 #endif
34 
35 !-------------------------------------------------------------------------------
36 ! Define Missing Value
37 !-------------------------------------------------------------------------------
38 
39 #define MISSINGVALUE 999999
40 
41 !-------------------------------------------------------------------------------
42 ! Define Output Levels
43 !-------------------------------------------------------------------------------
44 
45 #define VERBOSITY_LV0 0
46 #define VERBOSITY_LV1 1
47 #define VERBOSITY_LV2 255
48 #define VERBOSITY_LV3 1023
49