[GRASS-SVN] r30178 - grass/trunk/raster/simwe/r.sim.water
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 16 00:35:04 EST 2008
Author: helena
Date: 2008-02-16 00:35:04 -0500 (Sat, 16 Feb 2008)
New Revision: 30178
Modified:
grass/trunk/raster/simwe/r.sim.water/waterglobs.h
Log:
rain and mannings values added
Modified: grass/trunk/raster/simwe/r.sim.water/waterglobs.h
===================================================================
--- grass/trunk/raster/simwe/r.sim.water/waterglobs.h 2008-02-16 05:34:16 UTC (rev 30177)
+++ grass/trunk/raster/simwe/r.sim.water/waterglobs.h 2008-02-16 05:35:04 UTC (rev 30178)
@@ -20,7 +20,8 @@
char *err;
char *outwalk;
char *mapset;
-char *mscale;
+
+/* Flag*/
char *tserie;
char *wdepth;
@@ -33,16 +34,20 @@
char *flux;
char *erdep;
+/*New Input val*/
+char *rainval;
+char *maninval;
+
struct
{
struct Option *elevin,*dxin,*dyin,*rain,*infil,*traps,*manin,*sfile,*depth,*disch,*err,
*outwalk,*nwalk,*niter,*outiter,*density,*diffc,*hmax,*halpha,*hbeta,*wdepth,
-*detin,*tranin,*tauin,*tc,*et,*conc,*flux,*erdep;
+*detin,*tranin,*tauin,*tc,*et,*conc,*flux,*erdep,*rainval,*maninval;
} parm;
struct
{
- struct Flag *mscale, *tserie;
+ struct Flag *tserie;
} flag;
@@ -82,7 +87,7 @@
int mx, my;
int mx2, my2;
-double bxmi,bymi,bxma,byma,bresx,bresy;
+/*double bxmi,bymi,bxma,byma,bresx,bresy;*/
int maxwab;
double step,conv;
@@ -112,6 +117,10 @@
int miter,nwalka,lwwfin;
double timec;
int ts, timesec;
+
+double rain_val;
+double manin_val;
+
#else
extern FILE *fdelevin, *fddxin, *fddyin, *fdrain, *fdinfil, *fdtraps, *fdmanin, *fddepth, *fddisch, *fderr, *fdoutwalk,*fdwalkers;
extern FILE *fdwdepth,*fddetin,*fdtranin,*fdtauin, *fdtc, *fdet, *fdconc, *fdflux,*fderdep;
@@ -130,7 +139,6 @@
extern char *err;
extern char *outwalk;
extern char *mapset;
-extern char *mscale;
extern char *tserie;
extern char *wdepth;
@@ -143,17 +151,19 @@
extern char *flux;
extern char *erdep;
+extern char *rainval;
+extern char *maninval;
extern struct
{
struct Option *elevin,*dxin,*dyin,*rain,*infil,*traps,*manin,*sfile,*depth,*disch,*err,
*outwalk,*nwalk,*niter,*outiter,*density,*diffc,*hmax,*halpha,*hbeta,*wdepth,
-*detin,*tranin,*tauin,*tc,*et,*conc,*flux,*erdep;
+*detin,*tranin,*tauin,*tc,*et,*conc,*flux,*erdep,*rainval,*maninval;
} parm;
extern struct
{
- struct Flag *mscale, *tserie;
+ struct Flag *tserie;
} flag;
@@ -194,7 +204,7 @@
extern int mx, my;
extern int mx2, my2;
-extern double bxmi,bymi,bxma,byma,bresx,bresy;
+/*extern double bxmi,bymi,bxma,byma,bresx,bresy;*/
extern int maxwab;
extern double step,conv;
@@ -224,4 +234,7 @@
extern int miter,nwalka,lwwfin;
extern double timec;
extern int ts, timesec;
+
+extern double rain_val;
+extern double manin_val;
#endif
More information about the grass-commit
mailing list