Browse Source

Location support.
Small cleanup.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40627 15284696-431f-4ddb-bdfa-cd5b030d7da7

Soeren Gebbert 15 years ago
parent
commit
aa1ce15073
3 changed files with 7 additions and 7 deletions
  1. 1 1
      lib/gpde/N_arrays.c
  2. 4 4
      lib/gpde/N_gwflow.c
  3. 2 2
      lib/gpde/N_heatflow.h

+ 1 - 1
lib/gpde/N_arrays.c

@@ -169,7 +169,7 @@ int N_get_array_2d_type(N_array_2d * array)
 /*!
  * \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

+ 4 - 4
lib/gpde/N_gwflow.c

@@ -433,9 +433,9 @@ N_gwflow_3d_calc_water_budget(N_gwflow_data3d * data, N_geom_data * geom, N_arra
     }
 
     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 @@ N_gwflow_2d_calc_water_budget(N_gwflow_data2d * data, N_geom_data * geom, N_arra
     }
 
     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;
 }

+ 2 - 2
lib/gpde/N_heatflow.h

@@ -53,10 +53,10 @@ typedef struct
 
 } 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,