]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Added support for vectorization in Physics::Elasticity::Kinematics 4021/head
authorMathias Mentler <mathiasmentler@web.de>
Fri, 3 Mar 2017 09:41:11 +0000 (10:41 +0100)
committerMathias Mentler <mathiasmentler@web.de>
Fri, 3 Mar 2017 09:41:11 +0000 (10:41 +0100)
tests/physics/elasticity-kinematics_02.cc

index bcccbb5fb097f1a30249b6d6a03fe28df4fb5dab..11d12001d3bb10759934bb594ac8cee9de7c2c2c 100644 (file)
@@ -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<double>::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
+}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.