[Developers] If clauses in schedule

Erik Schnetter schnetter at cct.lsu.edu
Mon Apr 7 16:55:13 CDT 2008


On Apr 7, 2008, at 16:51:27, Frank Loeffler wrote:
> On Mon, Apr 07, 2008 at 01:21:19PM -0500, Erik Schnetter wrote:
>> The new if clauses are evaluated at run time and can thus examine  
>> grid
>> scalars.  Since there is no expression parser, they can only depend  
>> on
>> whether a grid scalar is zero or not.  This is the same mechanism  
>> that is
>> used for WHILE clauses.
>
> What prevents Cactus from also translating those expressions to C and
> executing them at runtime not only at the very beginning, but also
> during the evolution?


In principle nothing.  One would need to come up with a good syntax,  
ensure that the translation happens correctly, and then implement  
this.  Would this feature be important to you?

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/

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: 194 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20080407/c6390552/attachment.bin 


More information about the Developers mailing list