GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
test_heat.c
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * MODULE: Grass PDE Numerical Library
5 * AUTHOR(S): Soeren Gebbert, Berlin (GER) Dec 2006
6 * soerengebbert <at> gmx <dot> de
7 *
8 * PURPOSE: heatflow tests
9 *
10 * COPYRIGHT: (C) 2000 by the GRASS Development Team
11 *
12 * This program is free software under the GNU General Public
13 * License (>=v2). Read the file COPYING that comes with GRASS
14 * for details.
15 *
16 *****************************************************************************/
17 
18 #include <grass/gis.h>
19 #include <grass/glocale.h>
20 #include <grass/N_pde.h>
21 //#include <grass/N_heatflow.h>
22 #include "test_gpde_lib.h"
23 
24 static int integration_test_heatflow(void);
25 
26 /* *************************************************************** */
27 /* Performe the heat flow integration tests ********************** */
28 /* *************************************************************** */
29 int integration_test_heatflow(void)
30 {
31  int sum = 0;
32 
33  G_message(_("\n++ Running heat flow integration tests ++"));
34 
35  G_message(_("\t 1. testing 2d heat flow"));
36 
37  G_message(_("\t 2. testing 3d heat flow"));
38 
39  if (sum > 0)
40  G_warning(_("\n-- heat flow integration tests failure --"));
41  else
42  G_message(_("\n-- heat flow integration tests finished successfully --"));
43 
44  return sum;
45 }