test_heat.c 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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/N_pde.h>
  18. //#include <grass/N_heatflow.h>
  19. #include "test_gpde_lib.h"
  20. static int integration_test_heatflow(void);
  21. /* *************************************************************** */
  22. /* Performe the heat flow integration tests ********************** */
  23. /* *************************************************************** */
  24. int integration_test_heatflow(void)
  25. {
  26. int sum = 0;
  27. G_message("\n++ Running heat flow integration tests ++");
  28. G_message("\t 1. testing 2d heat flow");
  29. G_message("\t 2. testing 3d heat flow");
  30. if (sum > 0)
  31. G_warning("\n-- heat flow integration tests failure --");
  32. else
  33. G_message("\n-- heat flow integration tests finished successfully --");
  34. return sum;
  35. }