[Developers] ifndef in DXYDG_guts.h

Erik Schnetter schnetter at cct.lsu.edu
Wed Mar 14 08:36:32 CST 2007

On Mar 14, 2007, at 09:20:01, Erik Schnetter wrote:

> On Mar 13, 2007, at 18:05:01, jtao at cct.lsu.edu wrote:
>> I am also concerned about the usage of the spatial order
>> parameter in the loops. Shouldn't it be better to define the
>> order of spatial derivatives with a macro and keep the same
>> interface for all the derivatives ? Conditional statments
>> will not appear in the loops and it is still easy to
>> go to other orders.

I have heard that Penn State uses Kranc <http://numrel.aei.mpg.de/ 
Research/Kranc/> to generate code automatically.  I have heard that  
they generate different routines for each spatial differencing  
order.  This still allows switching at run time (since several  
routines are present), but allows each routine to be optimised  


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/20070314/554a2065/attachment.bin 

More information about the Developers mailing list