00001
00012
00013
00014
00015
00016
00017
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);
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
00049
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;
00056 extern float GP_BC_SfWat_addHi;
00057 extern float GP_BC_SatWat_add;
00058 extern float GP_BC_SfWat_targ;
00059 extern int GP_BC_InputRow;
00060 extern float GP_BC_Pconc;
00061 extern float GP_BC_Sconc;
00062
00063
00064 extern int WatMgmtOn;
00065 extern float step_Cell;
00066
00067
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
00076 extern basnDef **basn_list;
00077 extern basnDef *basins;
00078
00079 #endif
00080