[GRASS-SVN] r34072 - grass/trunk/raster/simwe/simlib

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 29 16:41:36 EDT 2008


Author: helena
Date: 2008-10-29 16:41:36 -0400 (Wed, 29 Oct 2008)
New Revision: 34072

Modified:
   grass/trunk/raster/simwe/simlib/output.c
Log:
site input/output commented out

Modified: grass/trunk/raster/simwe/simlib/output.c
===================================================================
--- grass/trunk/raster/simwe/simlib/output.c	2008-10-29 20:41:02 UTC (rev 34071)
+++ grass/trunk/raster/simwe/simlib/output.c	2008-10-29 20:41:36 UTC (rev 34072)
@@ -4,7 +4,7 @@
 #include <stdlib.h>
 #include <math.h>
 #include <grass/gis.h>
-#include <grass/site.h>
+/* #include <grass/site.h> */
 #include <grass/bitmap.h>
 #include <grass/linkm.h>
 
@@ -24,15 +24,17 @@
     struct History hist, hist1;	/* hist2, hist3, hist4, hist5 */
     char *depth0 = NULL, *disch0 = NULL, *err0 = NULL;
     char *conc0 = NULL, *flux0 = NULL;
-    char *erdep0 = NULL, *outwalk0 = NULL;
+/*    char *erdep0 = NULL, *outwalk0 = NULL; */
+    char *erdep0 = NULL;
     char *mapst = NULL;
     char *type;
     char buf[256];
     int ndigit;
     FCELL dat1, dat2;
     float a1, a2;
-    Site_head walkershead;
+/*    Site_head walkershead;
     Site *sd;
+*/
 
 
     ndigit = 2;
@@ -45,6 +47,7 @@
     if (timesec >= 10000)
 	ndigit = 6;
 
+/*
     if (outwalk != NULL) {
 	if (ts == 1) {
 	    sprintf(buf, "%s%.*d", outwalk, ndigit, tt);
@@ -82,9 +85,9 @@
 		sd->fcat = (float)stack[i][3];
 		G_site_put(fdoutwalk, sd);
 	    }
-
 	}
     }
+*/
     if (depth != NULL) {
 	cell6 = G_allocate_f_raster_buf();
 	if (ts == 1) {



More information about the grass-commit mailing list