[GRASS-SVN] r34075 - grass/trunk/raster/simwe/r.sim.water

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 29 16:42:59 EDT 2008


Author: helena
Date: 2008-10-29 16:42:59 -0400 (Wed, 29 Oct 2008)
New Revision: 34075

Modified:
   grass/trunk/raster/simwe/r.sim.water/waterglobs.h
Log:
site input/output commented out

Modified: grass/trunk/raster/simwe/r.sim.water/waterglobs.h
===================================================================
--- grass/trunk/raster/simwe/r.sim.water/waterglobs.h	2008-10-29 20:42:31 UTC (rev 34074)
+++ grass/trunk/raster/simwe/r.sim.water/waterglobs.h	2008-10-29 20:42:59 UTC (rev 34075)
@@ -4,10 +4,10 @@
 
 #ifdef MAIN
 FILE *fdelevin, *fddxin, *fddyin, *fdrain, *fdinfil, *fdtraps, *fdmanin,
-    *fddepth, *fddisch, *fderr, *fdoutwalk, *fdwalkers;
+    *fddepth, *fddisch, *fderr    /*, *fdoutwalk, *fdwalkers*/ ;
 FILE *fdwdepth, *fddetin, *fdtranin, *fdtauin, *fdtc, *fdet, *fdconc, *fdflux,
     *fderdep;
-FILE *fdsfile, *fw;
+/* FILE *fdsfile, *fw; */
 
 char *elevin;
 char *dxin;
@@ -16,11 +16,11 @@
 char *infil;
 char *traps;
 char *manin;
-char *sfile;
+/* char *sfile; */
 char *depth;
 char *disch;
 char *err;
-char *outwalk;
+/* char *outwalk; */
 char *mapset;
 
 /* Flag */
@@ -41,17 +41,28 @@
 char *maninval;
 char *infilval;
 
+/* walkers taken out 
 struct
 {
     struct Option *elevin, *dxin, *dyin, *rain, *infil, *traps, *manin,
-	*sfile, *depth, *disch, *err, *outwalk, *nwalk, *niter, *outiter,
+    *sfile, *depth, *disch, *err, *outwalk, *nwalk, *niter, *outiter,
 	*density, *diffc, *hmax, *halpha, *hbeta, *wdepth, *detin, *tranin,
 	*tauin, *tc, *et, *conc, *flux, *erdep, *rainval, *maninval,
 	*infilval;
 } parm;
+*/
 
 struct
 {
+    struct Option *elevin, *dxin, *dyin, *rain, *infil, *traps, *manin,
+        *depth, *disch, *err, *nwalk, *niter, *outiter,
+        *diffc, *hmax, *halpha, *hbeta, *wdepth, *detin, *tranin,
+        *tauin, *tc, *et, *conc, *flux, *erdep, *rainval, *maninval,
+        *infilval;
+} parm;
+
+struct
+{
     struct Flag *tserie;
 } flag;
 
@@ -63,6 +74,7 @@
 
 struct Cell_head cellhd;
 
+/* check whether this is the outlet
 struct Point
 {
     double north, east;
@@ -71,6 +83,7 @@
 struct Point *points;
 int npoints;
 int npoints_alloc;
+*/
 
 
 int input_data(void);
@@ -110,7 +123,7 @@
 int iflag[MAXW];
 
 double hbeta;
-int ldemo;
+/* int ldemo; */
 double hhmax, sisum, vmean;
 double infsum, infmean;
 int maxw, maxwa, nwalk;
@@ -129,8 +142,10 @@
 double infil_val;
 
 #else
+/* extern FILE *fdelevin, *fddxin, *fddyin, *fdrain, *fdinfil, *fdtraps,
+    *fdmanin, *fddepth, *fddisch, *fderr, *fdoutwalk, *fdwalkers; */
 extern FILE *fdelevin, *fddxin, *fddyin, *fdrain, *fdinfil, *fdtraps,
-    *fdmanin, *fddepth, *fddisch, *fderr, *fdoutwalk, *fdwalkers;
+    *fdmanin, *fddepth, *fddisch, *fderr;
 extern FILE *fdwdepth, *fddetin, *fdtranin, *fdtauin, *fdtc, *fdet, *fdconc,
     *fdflux, *fderdep;
 extern FILE *fdsfile, *fw;
@@ -146,7 +161,7 @@
 extern char *depth;
 extern char *disch;
 extern char *err;
-extern char *outwalk;
+/* extern char *outwalk; */
 extern char *mapset;
 extern char *tserie;
 



More information about the grass-commit mailing list