[Users] Carpet questions

Roland Haas roland.haas at physics.gatech.edu
Wed Oct 16 12:54:51 CDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Steve,

> First: Is there a way to determine whether a given grid point 
> (regardless of level in the refinement hierarchy) also exists on a
> finer grid?
I don't know of an official way to do so. Essentially you want to do
what the function map_points in CarpetInterp/src/interp.cc does.

A while ago I had need for this functionality and extracted the code
for this and wrapped it into a callable function. Attached please find
the thorn that I had created for this. It exports and aliased function
MapPoints that returns the refinement level and processor owning a
point. It's arguments are more or less the same as the interpolator
call. The code is more or less exactly what is in interp.cc.

> Second: Is there a way to disable subcycling? I.e. what I want to
> do is evolve all levels simultaneously with the finest grid step.
> Is there a way to do that?
Setting all Carpet::time_refinement_factors parameters to 1 might do
the trick.

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.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlJe0usACgkQTiFSTN7SboVfMwCfYtkwteEfsrbprMmJx1wTeWoF
hzEAnAziUY1yvvZj8a+qE68X3Ug1Ezh9
=gENp
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapPoints.tar.gz
Type: application/x-gzip
Size: 6670 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20131016/cf1a613a/attachment.gz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapPoints.tar.gz.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20131016/cf1a613a/attachment.bin 


More information about the Users mailing list