Ecological Landscape Modeling: Models Pages

fluxes.h

Go to the documentation of this file.
00001 
00012 /* General notes on revisions to this source file. 
00013        Jan 2005 v2.3.3: documentation upgrade 
00014                 - Re-organized, clarified scopes, Doxygen tags added 
00015         Oct 2006 v2.6.0: added more boundary condition functionality
00016                 - added model-experiment parameters (boundary condition experiments right now)
00017         Oct 2007 v2.7.0: added functionality of output of surface water flow velocities
00018         
00019 */
00020 #ifndef FLUX_H
00021 #define FLUX_H
00022 
00023 
00024 #include "globals.h"
00025 
00026 
00027 void Flux_SWater(int it, float *SURFACE_WAT,float *SED_ELEV,float *HYD_MANNINGS_N,
00028                  double *STUF1, double *STUF2, double *STUF3, float *SfWat_vel_day);
00029 float Flux_SWcells(int i0,int i1,int j0,int j1, 
00030                    float *SWater,float *Elevation,float *MC);
00031 void Flux_SWstuff(int i0,int i1,int j0,int j1, float Flux, 
00032                   float *SURFACE_WAT, double *STUF1, 
00033                   double *STUF2, double *STUF3, float *SfWat_vel_day);
00034 double Veloc_Calc(float flux, float depth_i, float depth_j, float tim_step); /* v2.7.0 */
00035 float Disp_Calc(float flux, float depth_i, float depth_j, float tim_step, double sf_wt_veloc);
00036 
00037 void Flux_GWater (int it, float *SatWat, float *Unsat, float *SfWat,
00038                   float *rate, float *poros, float *sp_yield, float *elev,
00039                   double *gwSTUF1, double *gwSTUF2, double *gwSTUF3,
00040                   double *swSTUF1, double *swSTUF2, double *swSTUF3);
00041 void Flux_GWcells(int i0, int i1, int j0, int j1, float *SatWat, 
00042                   float *Unsat, float *SfWat, float *rate, 
00043                   float *poros, float *sp_yield, float *elev,
00044                   double *gwSTUF1, double *gwSTUF2, double *gwSTUF3,
00045                   double *swSTUF1, double *swSTUF2, double *swSTUF3);
00046 
00047 
00048 /* externs */
00049 /* from unitmod.h */
00050 extern float* boundcond_depth;
00051 extern int *basn, *BCondFlow;
00052 extern float GP_DetentZ, GP_MinCheck;
00053 extern float  GP_mannDepthPow, GP_mannHeadPow;
00054 extern unsigned char *HAB;
00055 extern float  GP_BC_SfWat_add; /* v2.6 add */
00056 extern float  GP_BC_SfWat_addHi; /* v2.6 add */
00057 extern float  GP_BC_SatWat_add; /* v2.6 add */
00058 extern float  GP_BC_SfWat_targ; /* v2.6 add */
00059 extern int  GP_BC_InputRow; /* v2.6 add */
00060 extern float  GP_BC_Pconc; /* v2.6 add */
00061 extern float  GP_BC_Sconc; /* v2.6 add */
00062 
00063 /* from generic_driver.h */
00064 extern int WatMgmtOn;
00065 extern float step_Cell;
00066 
00067 /* from budgstats_birvars.h */
00068 extern double *VOL_IN_OVL, *VOL_IN_GW;
00069 extern double *VOL_OUT_OVL, *VOL_OUT_GW;
00070 extern double *P_IN_OVL, *P_IN_GW;
00071 extern double *P_OUT_OVL, *P_OUT_GW;
00072 extern double *S_IN_OVL, *S_IN_GW;
00073 extern double *S_OUT_OVL, *S_OUT_GW;
00074 
00075 /* from budgstats.h */
00076 extern basnDef **basn_list;
00077 extern basnDef *basins;
00078         
00079 #endif   /* FLUX_H */
00080 

Generated on Sat Jan 7 14:04:15 2012 for ELM source code by  doxygen 1.5.6