[Users] splitting grid ARRAY along given direction only
Peter Diener
diener at cct.lsu.edu
Fri Sep 13 09:50:40 CDT 2013
Hi Roland,
I had a need for a similar thing some time ago. I had a 2D array that I
only wanted to split in one direction. The workaround that I used was to
declare this as a vector of 1D arrays. However, a more general
implementation, where you can specify it in the interface.ccl would be
good to have.
I'm just mentioning this option, if you want something to work quickly,
while the more general implementation is being implemented.
Cheers,
Peter
On Thu, 12 Sep 2013, Roland Haas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello Erik, all,
>
>> There is a parameter "no_split_direction" that ensures that a
>> certain direction is never split over multiple processes. This
>> parameter affects all grid variables. You would want two
>> no-split-directions, but probably only for this group.
> Yes I would want two of the no-split-directions and ideally only for
> this one group (I had looked at no-split-direction and the
> aspect_ratio parameters though could not really make it work with those).
>
>> The cleanest way to address this would be to introduce new
>> keywords next to "default" and "constant" that describe which
>> directions should be split. Alternatively, group tags specifying
>> this could be introduced. At the lower level,
>> SplitRegionsMaps_Automatic and friends could receive an additional
>> argument describing which directions should not be split; probably
>> a bvect.
> An extra keyword will have to go all the way through the flesh and the
> perl scripts that parse interface.ccl. I had hoped to avoid that extra
> level of effort :-) A group tag that is then passed on a a bvect would
> seem like a simple Carpet-only solution. It certainly would be the
> fastest solution. On the other hand I feel that the group tags are
> already being used for too many things so I might end up going the
> Cactus-flesh way in the end.
>
> Thank you for the suggestions.
>
> Yours,
> Roland
>
> - --
> My email is as private as my paper mail. I therefore support encrypting
> and signing email messages. Get my PGP key from http://keys.gnupg.net.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (GNU/Linux)
> Comment: Using GnuPG with Icedove - http://www.enigmail.net/
>
> iEYEARECAAYFAlIyc6kACgkQTiFSTN7SboVIfgCdENQCzOTP6s96uZiu+xfIVmMc
> BH8AoI3ILiXReEdxxtKDekatLxZYNfqH
> =eDJ4
> -----END PGP SIGNATURE-----
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
More information about the Users
mailing list