[Developers] If clauses in schedule
Erik Schnetter
schnetter at cct.lsu.edu
Tue Apr 8 11:46:45 CDT 2008
The condition has to be calculated ahead of time and stored into a
grid scalar.
Yes, an if clause is sufficiently different from a while condition to
justify its addition.
-erik
On Apr 8, 2008, at 10:39:07, David Rideout wrote:
> What sort of expression can we put for condX? Just an integer grid
> scalar? A parameter? I recall you mentioned that there is no
> expression parsing for this. If it is just an integer grid scalar,
> then is this sufficiently different from the while syntax to justify
> its addition?
>
> -David
>
> On Tue, Apr 8, 2008 at 11:20 AM, Erik Schnetter
> <schnetter at cct.lsu.edu> wrote:
>
>> The new if clauses do not affect the order in which scheduled items
>> are
>> executed. The schedule is constant in time, but certain elements are
>> skipped depending on certain conditions. A schedule description
>>
>> schedule A if condX
>>
>> becomes internally at run time something like
>>
>> if condX execute A
>>
>> similar to the existing
>>
>> while condY execute B
>>
>>
>>
>> -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.
>>
>>
>>
>>
>> _______________________________________________
>> Developers mailing list
>> Developers at cactuscode.org
>> http://www.cactuscode.org/mailman/listinfo/developers
>>
>>
> _______________________________________________
> Developers mailing list
> Developers at cactuscode.org
> http://www.cactuscode.org/mailman/listinfo/developers
>
--
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/20080408/05eb3a24/attachment.bin
More information about the Developers
mailing list