print.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002  * File        : print.h                                                       *
00003  * Function    : defines identifiers for print.c file                          *
00004  * Programmers : Yizhong Qu   @ Pennsylvania State Univeristy                  *
00005  *               Mukesh Kumar @ Pennsylvania State Univeristy                  *
00006  *               Gopal Bhatt  @ Pennsylvania State Univeristy                  *
00007  * Version     : 2.0 (July 10, 2007)                                           *
00008  *-----------------------------------------------------------------------------*
00009  *                                                                             *
00010  *                                                                             *
00011  * This code is free for users with research purpose only, if appropriate      *
00012  * citation is refered. However, there is no warranty in any format for this   *
00013  * product.                                                                    *
00014  *                                                                             *
00015  * For questions or comments, please contact the authors of the reference.     *
00016  * One who want to use it for other consideration may also contact Dr.Duffy    *
00017  * at cxd11@psu.edu.                                                           *
00018  *******************************************************************************/
00019 
00021 
00022 /*    File Print Mode identifiers    */
00023 #define TXT            1        
00024 #define CDF            2        
00026 /*    Fprint Control identifiers    */
00027 #define YEA            1        
00028 #define NAY            0        
00031 /************************/
00032 /* 1=> .txt Files       */
00033 /* 2=> .netcdf Files    */
00034 /************************/
00035 #define FPRINT_MODE    CDF              
00038 
00039 #define ISState        YEA      
00040 #define SatState       YEA      
00041 #define UsatState      YEA      
00042 #define SurfState      YEA      
00044 #define ISStateT       60       
00045 #define SatStateT      60       
00046 #define UsatStateT     60       
00047 #define SurfStateT     60       
00048 
00049 #define ET0            YEA      
00050 #define ET1            YEA      
00051 #define ET2            YEA      
00052 #define NetPpt         YEA      
00053 #define Infil          YEA      
00054 #define RECHARGE       YEA      
00056 #define ET0T           60       
00057 #define ET1T           60       
00058 #define ET2T           60       
00059 #define NetPptT        60       
00060 #define InfilT         60       
00061 #define RECHARGET      60       
00062 
00063 #define RivHead        YEA      
00065 #define RivHeadT       60       
00066 
00067 #define RivFlow        YEA      
00068 #define RivBase        YEA      
00069 #define RivSurf        YEA      
00071 #define RivFlowT       60       
00072 #define RivBaseT       60       
00073 #define RivSurfT       60       
00074 
00075 #define FluxSurf       YEA
00076 #define FluxSat        YEA
00077 
00078 #define FluxSurfT      60
00079 #define FluxSatT       60
00081 
00082 
00083 /* Function Prototypes */
00084 void FPrintInit(Model_Data);                                        /* Initialize variables for FPrint           */
00085 
00086 void printIS(Model_Data, FILE *, realtype);                         /* Print Interception Storage in TXT mode    */
00087 void printIScdf(Model_Data, int, int, realtype);                    /* Print Interception Storage in CDF mode    */
00088 
00089 void printSatState(Model_Data, N_Vector, FILE *, realtype);         /* Print Saturated State in TXT mode         */
00090 void printSatStatecdf(Model_Data, N_Vector, int, int, realtype);    /* Print Saturated State in CDF mode         */
00091 void printUsatState(Model_Data, N_Vector, FILE *, realtype);        /* Print Unsaturated State in TXT mode       */
00092 void printUsatStatecdf(Model_Data, N_Vector, int, int, realtype);   /* Print Unsaturated State in CDF mode       */
00093 void printSurfState(Model_Data, N_Vector, FILE *, realtype);        /* Print Overland State in TXT mode          */
00094 void printSurfStatecdf(Model_Data, N_Vector, int, int, realtype);   /* Print Overland State in CDF mode          */
00095 
00096 void printET0(Model_Data, FILE *, realtype);                        /* Print Evaporation from Veg in TXT mode    */
00097 void printET0cdf(Model_Data, int, int, realtype);                   /* Print Evaporation from Veg in CDF mode    */
00098 void printET1(Model_Data, FILE *, realtype);                        /* Print Evaporation from Sur in TXT mode    */
00099 void printET1cdf(Model_Data, int, int, realtype);                   /* Print Evaporation from Sur in CDF mode    */
00100 void printET2(Model_Data, FILE *, realtype);                        /* Print Evaporation from Grd in TXT mode    */
00101 void printET2cdf(Model_Data, int, int, realtype);                   /* Print Evaporation from Grd in CDF mode    */
00102 void printNetPpt(Model_Data, FILE *, realtype);                     /* Print Net Precipitation in TXT mode       */
00103 void printNetPptcdf(Model_Data, int, int, realtype);                /* Print Net Precipitation in CDF mode       */
00104 void printInfil(Model_Data, FILE *, realtype);                      /* Print Variable Infiltration in TXT mode   */
00105 void printInfilcdf(Model_Data, int, int, realtype);                 /* Print Variable Infiltration in CDF mode   */
00106 void printRecharge(Model_Data, FILE *, realtype);                   /* Print Recharge to GW in TXT mode          */
00107 void printRechargecdf(Model_Data, int, int, realtype);              /* Print Recharge to GW in CDF mode          */
00108 
00109 void printRiverFlow(Model_Data, N_Vector, FILE *, realtype);        /* Print outflow from river segin TXT mode   */
00110 void printRiverFlowcdf(Model_Data, N_Vector, int, int, realtype);   /* Print outflow from river segin CDF mode   */
00111 void printRiverBase(Model_Data, FILE *, realtype);                  /* Print Base flow to river seg in TXT mode  */
00112 void printRiverBasecdf(Model_Data, int, int, realtype);             /* Print Base flow to river seg in CDF mode  */
00113 void printRiverSurf(Model_Data, FILE *, realtype);                  /* Print over flow to river seg in TXT mode  */
00114 void printRiverSurfcdf(Model_Data, int, int, realtype);             /* Print over flow to river seg in CDF mode  */
00115 void printRiverHead(Model_Data, N_Vector, FILE *, realtype);        /* Print River State in TXT mode             */
00116 void printRiverHeadcdf(Model_Data, N_Vector, int, int, realtype);   /* Print River State in CDF mode             */
00117 
00118 void FPrintCloseAll(void);

Generated on Thu Jul 12 14:34:19 2007 for PIHM by  doxygen 1.5.2