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] = 5you 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