Changes between Version 6 and Version 7 of Examples/Laplace


Ignore:
Timestamp:
May 7, 2010, 7:48:33 AM (7 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Examples/Laplace

    v6 v7  
    11= Laplace =
    22
    3 Solves the Laplace equation `u_xx + u_yy = 0` in a rectangular domain, by iteratively applying a stencil function function.
     3Solves the Laplace equation `u_xx + u_yy = 0` in a rectangular domain, by iteratively applying a stencil function.
    44
    55The first argument is the number of iterations to use. The second is a BMP file containing boundary conditions.
     
    2323|| [http://code.haskell.org/repa/wiki/images/pls-400x400.bmp full size] || [http://code.haskell.org/repa/wiki/images/pls-400x400-out.bmp full size] ||
    2424
     25== Runtime ==
     26
     27Compiled with GHC 6.13.20100309. 400x400 image. 1000 iterations.
     28
     29Running on a Intel i7 iMac. 2.8Ghz, 4 cores x 2 threads/core. 256k L1, 8MB L2, 8GB main memory.
     30
     31Times stated include IO.
     32
     33|| Threads || Time(s) ||
     34|| 1  || 64.67 ||
     35|| 2 || 37.29 ||
     36|| 3 || 27.45 ||
     37|| 4 || 31.96 ||
     38|| 5 || 28.08 ||
     39|| 6 || 24.39 ||
     40|| 7 || 23.83 ||
     41|| 8 || 24.67 ||