[Developers] ADMMacros, C version fixes

Erik Schnetter schnetter at cct.lsu.edu
Tue Sep 11 04:35:06 CDT 2007


On Sep 11, 2007, at 11:19:45, Frank Loeffler wrote:
>
> However,
> there is still one big difference: 4th order is only available for
> Fortran at the moment, the C version falls back to 2nd order
> derivatives.

Given that, is there a reason to use the C version?  All recent code  
development was independent of ADMMacros and used instead Maple or  
Mathematica scripts or equivalent systems to produce code from  
equations.

Personally I like Kranc best; not because it's intrinsically better,  
but rather because it is complete, and one doesn't have to set up  
many different things to produce code.  We had a summer student,  
Katharina Beer, look at boundary conditions for the scalar wave  
equation using Kranc for the discretisation.  Kranc was reasonably  
easy to use; the largest problem was the really long-winded error  
messages that it tends to produce if there is something wrong.  (This  
was with the development version of Kranc; I think that the stable  
version described in the documentation is much more complicated to use.)

One advantage of Kranc is that it does not only create C or Fortran  
code from equations, but also contains the finite differencing  
stencils, so that the resulting code is efficient, and one doesn't  
have to add code by hand which calculates all derivatives before  
using the generated equations.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20070911/ee599eda/attachment.bin 


More information about the Developers mailing list