aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2011-01-03 23:12:53 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:25:54 +0000
commitd3698a6c11469f96ffdd4ed41335f3d55b604b49 (patch)
tree96ff92e09ffd8c0bc3cfa94db43b9c9e2dfb0e35 /Carpet/CarpetLib/src/prolongate_3d_rf2.cc
parentf90266b83dbfedd7bf66e351770ae33586519de0 (diff)
CarpetLib: Align interpolation stencil weights
Diffstat (limited to 'Carpet/CarpetLib/src/prolongate_3d_rf2.cc')
-rw-r--r--Carpet/CarpetLib/src/prolongate_3d_rf2.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/prolongate_3d_rf2.cc b/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
index 2c972117e..3b632eb6c 100644
--- a/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
+++ b/Carpet/CarpetLib/src/prolongate_3d_rf2.cc
@@ -31,7 +31,8 @@ namespace CarpetLib {
template<typename RT, int ORDER>
struct coeffs1d {
- static const RT coeffs[]; // __attribute__((aligned(16))
+ static const RT coeffs[]
+ CCTK_ATTRIBUTE_ALIGNED(CCTK_REAL_VEC_SIZE * CCTK_REAL_PRECISION);
static ptrdiff_t const ncoeffs = ORDER+1;
static ptrdiff_t const imin = - ncoeffs/2 + 1;