00001
00012
00013
00014
00015
00016
00017 #ifndef FLUX_H
00018 #define FLUX_H
00019
00020
00021 #include "globals.h"
00022
00023
00024 void Flux_SWater(int it, float *SURFACE_WAT,float *SED_ELEV,float *HYD_MANNINGS_N,
00025 double *STUF1, double *STUF2, double *STUF3);
00026 float Flux_SWcells(int i0,int i1,int j0,int j1,
00027 float *SWater,float *Elevation,float *MC);
00028 void Flux_SWstuff(int i0,int i1,int j0,int j1, float Flux,
00029 float *SURFACE_WAT, double *STUF1,
00030 double *STUF2, double *STUF3);
00031 float Disp_Calc(float flux, float depth_i, float depth_j, float tim_step);
00032
00033 void Flux_GWater (int it, float *SatWat, float *Unsat, float *SfWat,
00034 float *rate, float *poros, float *sp_yield, float *elev,
00035 double *gwSTUF1, double *gwSTUF2, double *gwSTUF3,
00036 double *swSTUF1, double *swSTUF2, double *swSTUF3);
00037 void Flux_GWcells(int i0, int i1, int j0, int j1, float *SatWat,
00038 float *Unsat, float *SfWat, float *rate,
00039 float *poros, float *sp_yield, float *elev,
00040 double *gwSTUF1, double *gwSTUF2, double *gwSTUF3,
00041 double *swSTUF1, double *swSTUF2, double *swSTUF3);
00042
00043
00044
00045
00046 extern float* boundcond_depth;
00047 extern int *basn, *BCondFlow;
00048 extern float GP_DetentZ, GP_MinCheck;
00049 extern float GP_mannDepthPow, GP_mannHeadPow;
00050 extern unsigned char *HAB;
00051
00052
00053 extern int WatMgmtOn;
00054 extern float step_Cell;
00055
00056
00057 extern double *VOL_IN_OVL, *VOL_IN_GW;
00058 extern double *VOL_OUT_OVL, *VOL_OUT_GW;
00059 extern double *P_IN_OVL, *P_IN_GW;
00060 extern double *P_OUT_OVL, *P_OUT_GW;
00061 extern double *S_IN_OVL, *S_IN_GW;
00062 extern double *S_OUT_OVL, *S_OUT_GW;
00063
00064
00065 extern basnDef **basn_list;
00066 extern basnDef *basins;
00067
00068 #endif
00069