test_heat.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*****************************************************************************
  2. *
  3. * MODULE: Grass PDE Numerical Library
  4. * AUTHOR(S): Soeren Gebbert, Berlin (GER) Dec 2006
  5. * soerengebbert <at> gmx <dot> de
  6. *
  7. * PURPOSE: heatflow tests
  8. *
  9. * COPYRIGHT: (C) 2000 by the GRASS Development Team
  10. *
  11. * This program is free software under the GNU General Public
  12. * License (>=v2). Read the file COPYING that comes with GRASS
  13. * for details.
  14. *
  15. *****************************************************************************/
  16. #include <grass/gis.h>
  17. #include <grass/glocale.h>
  18. #include <grass/N_pde.h>
  19. //#include <grass/N_heatflow.h>
  20. #include "test_gpde_lib.h"
  21. static int integration_test_heatflow(void);
  22. /* *************************************************************** */
  23. /* Performe the heat flow integration tests ********************** */
  24. /* *************************************************************** */
  25. int integration_test_heatflow(void)
  26. {
  27. int sum = 0;
  28. G_message(_("\n++ Running heat flow integration tests ++"));
  29. G_message(_("\t 1. testing 2d heat flow"));
  30. G_message(_("\t 2. testing 3d heat flow"));
  31. if (sum > 0)
  32. G_warning(_("\n-- heat flow integration tests failure --"));
  33. else
  34. G_message(_("\n-- heat flow integration tests finished successfully --"));
  35. return sum;
  36. }