[GRASS-SVN] r30298 - grass/trunk/raster/simwe/r.sim.sediment
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 23 00:51:22 EST 2008
Author: helena
Date: 2008-02-23 00:51:22 -0500 (Sat, 23 Feb 2008)
New Revision: 30298
Modified:
grass/trunk/raster/simwe/r.sim.sediment/main.c
Log:
default value for walkers removed - it is computed now
Modified: grass/trunk/raster/simwe/r.sim.sediment/main.c
===================================================================
--- grass/trunk/raster/simwe/r.sim.sediment/main.c 2008-02-23 05:49:08 UTC (rev 30297)
+++ grass/trunk/raster/simwe/r.sim.sediment/main.c 2008-02-23 05:51:22 UTC (rev 30298)
@@ -49,7 +49,7 @@
/********************************/
/* DEFINE GLOB VAR */
/********************************/
-#define NWALK "1000000"
+/* #define NWALK "1000000" */
#define DIFFC "0.8"
#define NITER "10"
#define ITEROUT "2"
@@ -249,7 +249,7 @@
parm.nwalk = G_define_option();
parm.nwalk->key = "nwalk";
parm.nwalk->type = TYPE_INTEGER;
- parm.nwalk->answer = NWALK;
+/* parm.nwalk->answer = NWALK; */
parm.nwalk->required = NO;
parm.nwalk->description = _("Number of walkers");
parm.nwalk->guisection = _("Parameters");
@@ -317,7 +317,7 @@
erdep = parm.erdep->answer;
sfile = parm.sfile->answer;
- sscanf(parm.nwalk->answer, "%d", &maxwa);
+/* sscanf(parm.nwalk->answer, "%d", &maxwa); */
sscanf(parm.niter->answer, "%d", ×ec);
sscanf(parm.outiter->answer, "%d", &iterout);
sscanf(parm.density->answer, "%d", &ldemo);
More information about the grass-commit
mailing list