[Users] Piraha in the Flesh
Frank Loeffler
knarf at cct.lsu.edu
Fri Feb 22 09:04:29 CST 2013
On Wed, Feb 20, 2013 at 05:57:03PM -0600, Steven R. Brandt wrote:
> I haven't heard a lot of feedback about this feature yet, but I thought
> I'd mention a recent improvement.
I have a production run using your (earlier) changes currently running.
It is not using any of the new features, but is a test whether the
changes work besides the testsuites for at least one production parfile.
> Piraha allows array notation in parameter files so that instead of
> writing this:
>
> CarpetRegrid2::radius_1[1] = 10
> CarpetRegrid2::radius_1[2] = 5
>
> you can write this:
> CarpetRegrid2::radius_1 = [10,5]
That's cool. :)
> The nice thing about having a parser is that the various features
> combine, so you can also write this:
> CarpetRegrid2::radius_1 = [
> 2+2*4 # This should be 10
> ,5]
I can see this coming in handy.
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20130222/28018e66/attachment.bin
More information about the Users
mailing list