GRASS Programmer's Manual
6.4.2(2012)
|
00001 00002 /***************************************************************************** 00003 * 00004 * MODULE: Grass PDE Numerical Library 00005 * AUTHOR(S): Soeren Gebbert, Berlin (GER) Dec 2006 00006 * soerengebbert <at> gmx <dot> de 00007 * 00008 * PURPOSE: heatflow tests 00009 * 00010 * COPYRIGHT: (C) 2000 by the GRASS Development Team 00011 * 00012 * This program is free software under the GNU General Public 00013 * License (>=v2). Read the file COPYING that comes with GRASS 00014 * for details. 00015 * 00016 *****************************************************************************/ 00017 00018 #include <grass/gis.h> 00019 #include <grass/glocale.h> 00020 #include <grass/N_pde.h> 00021 //#include <grass/N_heatflow.h> 00022 #include "test_gpde_lib.h" 00023 00024 static int integration_test_heatflow(void); 00025 00026 /* *************************************************************** */ 00027 /* Performe the heat flow integration tests ********************** */ 00028 /* *************************************************************** */ 00029 int integration_test_heatflow(void) 00030 { 00031 int sum = 0; 00032 00033 G_message(_("\n++ Running heat flow integration tests ++")); 00034 00035 G_message(_("\t 1. testing 2d heat flow")); 00036 00037 G_message(_("\t 2. testing 3d heat flow")); 00038 00039 if (sum > 0) 00040 G_warning(_("\n-- heat flow integration tests failure --")); 00041 else 00042 G_message(_("\n-- heat flow integration tests finished successfully --")); 00043 00044 return sum; 00045 }