[Carpet] ReflectionSymmetry vs grid::domain="bitant"
Erik Schnetter
schnetter at cct.lsu.edu
Fri Jun 9 17:27:25 CEST 2006
On Jun 9, 2006, at 09:02:46, Jonathan Thornburg wrote:
> Hi, Erik,
>
> As far as I can tell, there are 2 distinct ways to specify a z <--> -z
> reflection symmetry in Carpet: I can either specify grid::domain =
> "bitant",
> (x)or I can activate thorn ReflectionSymmetry. Do these both have the
> same semantics? (In particular, does grid::domain = "bitant"
> still
> cause the symmetry BC to be applied if I schedule ApplyBCs ?)
Yes, both have the same semantics.
> Are there any reasons to favor one way over the other (besides that
> ReflectionSymmetry is newer)?
ReflectionSymmetry is not public. ReflectionSymmetry works correctly
automatically once the tensor type has been declared for a grid
function group; CartGrid3D requires run-time setup calls for the grid
functions. ReflectionSymmetry supports "symmetry interpolation",
i.e., if you interpolate to a point on the other side of the mirror,
you will get the correct result, while with CartGrid3D, you receive
an "outside the domain" error.
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu>
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: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060609/7faff996/attachment.pgp
More information about the developers
mailing list