[Saga-devel] saga-projects SVN commit 844:
/applications/mandelbrot/master/
amerzky at cct.lsu.edu
amerzky at cct.lsu.edu
Tue Jan 13 12:08:06 CST 2009
User: amerzky
Date: 2009/01/13 12:08 PM
Added:
/applications/mandelbrot/master/
mandelbrot_master.cpp
Removed:
/applications/mandelbrot/master/
master.cpp
Log:
rename
File Changes:
Directory: /applications/mandelbrot/master/
===========================================
File [added]: mandelbrot_master.cpp
Delta lines: +0 -0
Copied: applications/mandelbrot/master/mandelbrot_master.cpp (from rev 843, applications/mandelbrot/master/master.cpp)
File [removed]: master.cpp
Delta lines: +0 -44
===================================================================
--- applications/mandelbrot/master/master.cpp 2009-01-13 18:07:19 UTC (rev 843)
+++ applications/mandelbrot/master/master.cpp 2009-01-13 18:07:54 UTC (rev 844)
@@ -1,44 +0,0 @@
-
-#include <string>
-#include <iostream>
-
-#include "mandelbrot.hpp"
-
-int main (int argc, char** argv)
-{
- try
- {
- {
- // create our mandelbrot master, open the x11
- // output device, and start 5 client jobs
- mandelbrot m ("x11", 5);
-
- // compute() distributes the work, gathers the
- // results, and displays the mandelbrot set
- m.compute ();
-
- // done
- std::cout << "\n done - press key to finish\n";
- ::getchar ();
- }
- }
-
- // catch exceptions from SAGA
- catch ( saga::exception const & e )
- {
- std::cerr << "SAGA Exception: " << e.what () << std::endl;
- return -1;
- }
-
- // catch exceptions from the mandelbrot class and the output device
- catch ( char const * s )
- {
- std::cerr << "Exception: " << s << std::endl;
- return -2;
- }
-
- // nothing to catch - declare success :-)
- return 0;
-}
-
-
More information about the saga-devel
mailing list