[GRASS-SVN] r40627 - grass/trunk/lib/gpde

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 23 08:47:04 EST 2010


Author: huhabla
Date: 2010-01-23 08:47:02 -0500 (Sat, 23 Jan 2010)
New Revision: 40627

Modified:
   grass/trunk/lib/gpde/N_arrays.c
   grass/trunk/lib/gpde/N_gwflow.c
   grass/trunk/lib/gpde/N_heatflow.h
Log:
Location support.
Small cleanup.

Modified: grass/trunk/lib/gpde/N_arrays.c
===================================================================
--- grass/trunk/lib/gpde/N_arrays.c	2010-01-23 01:11:50 UTC (rev 40626)
+++ grass/trunk/lib/gpde/N_arrays.c	2010-01-23 13:47:02 UTC (rev 40627)
@@ -169,7 +169,7 @@
 /*!
  * \brief Write the value of the N_array_2d struct at position col, row to value
  *
- * The value must be from the same type as the array. Otherwise you will risk data losses.
+ * The value must be of the same type as the array. Otherwise you will risk data losses.
  *
  * \param data N_array_2d *
  * \param col int

Modified: grass/trunk/lib/gpde/N_gwflow.c
===================================================================
--- grass/trunk/lib/gpde/N_gwflow.c	2010-01-23 01:11:50 UTC (rev 40626)
+++ grass/trunk/lib/gpde/N_gwflow.c	2010-01-23 13:47:02 UTC (rev 40627)
@@ -433,9 +433,9 @@
     }
 
     if(fabs(sum) < 0.0000000001)
-        G_message("The total sum of the water budget: %g\n", sum);
+        G_message(_("The total sum of the water budget: %g\n"), sum);
     else
-        G_warning("The total sum of the water budget is significant larger then 0: %g\n", sum);
+        G_warning(_("The total sum of the water budget is significant larger then 0: %g\n"), sum);
 
     return;
 }
@@ -712,9 +712,9 @@
     }
 
     if(fabs(sum) < 0.0000000001)
-        G_message("The total sum of the water budget: %g\n", sum);
+        G_message(_("The total sum of the water budget: %g\n"), sum);
     else
-        G_warning("The total sum of the water budget is significant larger then 0: %g\n", sum);
+        G_warning(_("The total sum of the water budget is significant larger then 0: %g\n"), sum);
 
     return;
 }

Modified: grass/trunk/lib/gpde/N_heatflow.h
===================================================================
--- grass/trunk/lib/gpde/N_heatflow.h	2010-01-23 01:11:50 UTC (rev 40626)
+++ grass/trunk/lib/gpde/N_heatflow.h	2010-01-23 13:47:02 UTC (rev 40627)
@@ -53,10 +53,10 @@
 
 } N_heatflow_data2d;
 
-extern N_les_row_entries *N_callback_heatflow_3d(void *heatdata,
+extern N_data_star *N_callback_heatflow_3d(void *heatdata,
 						 N_geom_data * geom,
 						 int depth, int row, int col);
-extern N_les_row_entries *N_callback_heatflow_2d(void *heatdata,
+extern N_data_star *N_callback_heatflow_2d(void *heatdata,
 						 N_geom_data * geom, int row,
 						 int col);
 extern N_heatflow_data3d *N_alloc_heatflow_data3d(int depths, int rows,



More information about the grass-commit mailing list