Yes, if VECTORISE_ALIGNED_ARRAYS=no (which is the default), then ash will be identical to lsh.
No, there is currently no way to enforce this, although this would be very good to have for debugging.
The respective code is in CarpetLib's gdata.cc, bracketed by #if VECTORISE && VECTORISE_ALIGNED_ARRAYS. To test, you could artificially add 1 to shape[0] after the line that modifies shape[0].
-erik
On Tue, Oct 21, 2014 at 8:59 AM, Yosef Zlochower yosef@astro.rit.edu wrote:
Hi,
Is it the case that cctk_ash[i] = cctk_lsh[i] (i=0..3) if VECTORISE_ALIGNED_ARRAYS= no? I want to update and test a code that assumed the GF sizes were given by cctk_lsh. Is there a way to force cctk_ash to be larger than cctk_lsh in order to test the update.
Thanks
-- Dr. Yosef Zlochower Center for Computational Relativity and Gravitation Associate Professor School of Mathematical Sciences Rochester Institute of Technology 85 Lomb Memorial Drive Rochester, NY 14623
Office:74-2067 Phone: +1 585-475-6103
yosef@astro.rit.edu
CONFIDENTIALITY NOTE: The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information. _______________________________________________ Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users