1 !-------------------------------------------------------------------------------
3 !-------------------------------------------------------------------------------
5 #define FILENAME __FILE__
7 #define CONTEXT line=__LINE__,file=FILENAME
8 #define PASSTHRU msg=ESMF_LOGERR_PASSTHRU,CONTEXT
9 #define ESMF_STDERRORCHECK(rc) ESMF_LogFoundError(rcToCheck=rc,msg=ESMF_LOGERR_PASSTHRU,line=__LINE__,file=__FILE__)
11 !-------------------------------------------------------------------------------
12 ! Define ESMF real kind to match Appplications single/
double precision
13 !-------------------------------------------------------------------------------
15 #define ESMF_KIND_FIELD ESMF_KIND_R4
16 #define ESMF_KIND_COORD ESMF_KIND_R4
17 #define ESMF_TYPEKIND_FIELD ESMF_TYPEKIND_R4
18 #define ESMF_TYPEKIND_COORD ESMF_TYPEKIND_R4
20 #define ESMF_KIND_FIELD ESMF_KIND_R8
21 #define ESMF_KIND_COORD ESMF_KIND_R8
22 #define ESMF_TYPEKIND_FIELD ESMF_TYPEKIND_R8
23 #define ESMF_TYPEKIND_COORD ESMF_TYPEKIND_R8
25 #define ESMF_KIND_FIELD ESMF_KIND_R4
26 #define ESMF_KIND_COORD ESMF_KIND_R8
27 #define ESMF_TYPEKIND_FIELD ESMF_TYPEKIND_R4
28 #define ESMF_TYPEKIND_COORD ESMF_TYPEKIND_R8
31 !-------------------------------------------------------------------------------
32 ! Define Missing Value
33 !-------------------------------------------------------------------------------
35 #define MISSINGVALUE 999999
36 #define UNINITIALIZED -9999
38 !-------------------------------------------------------------------------------
39 ! Define Output Levels
40 !-------------------------------------------------------------------------------
42 #define VERBOSITY_LV0 0
43 #define VERBOSITY_LV1 1
44 #define VERBOSITY_LV2 255
45 #define VERBOSITY_LV3 1023