From a86b4a01b90cbee2714adae43ba1c0dd12afcf3f Mon Sep 17 00:00:00 2001 From: Mathias Mentler Date: Fri, 3 Mar 2017 10:41:11 +0100 Subject: [PATCH] Added support for vectorization in Physics::Elasticity::Kinematics --- tests/physics/elasticity-kinematics_02.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/physics/elasticity-kinematics_02.cc b/tests/physics/elasticity-kinematics_02.cc index bcccbb5fb0..11d12001d3 100644 --- a/tests/physics/elasticity-kinematics_02.cc +++ b/tests/physics/elasticity-kinematics_02.cc @@ -53,7 +53,7 @@ int main() grad_u[2][1] = -1.0; grad_u[2][2] = 2.0; - // Scale the gradients along the vectorization-index so that each grad_u is unique. + // Scale the gradients along the vectorization-index so that each grad_u[v] is unique. for (unsigned int v = 0; v < VectorizedArray::n_array_elements; v++) for (unsigned int i = 0; i < dim; i++) for (unsigned int j = 0; j < dim; j++) @@ -98,4 +98,4 @@ int main() deallog << "OK" << std::endl; logfile.close(); -} \ No newline at end of file +} -- 2.39.5