From 60a6182259466653878ac77a539afe380ae7a2df Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 8 May 2018 13:10:20 +0200
Subject: [PATCH] Switch default of vectorization_jacobians

This will leave the coverage of the testing suite untouched!
---
 applications/poisson_dg_tensor/verify.mini | 3 ++-
 python/dune/perftool/options.py            | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/applications/poisson_dg_tensor/verify.mini b/applications/poisson_dg_tensor/verify.mini
index d33be736..537c202e 100644
--- a/applications/poisson_dg_tensor/verify.mini
+++ b/applications/poisson_dg_tensor/verify.mini
@@ -15,7 +15,8 @@ compare_l2errorsquared = 1e-6
 fastdg = 1
 sumfact = 1
 vectorization_quadloop = 1
-vectorization_strategy = explicit
+vectorization_strategy = model
+vectorization_jacobians = 0
 
 [formcompiler.ufl_variants]
 cell = hexahedron
diff --git a/python/dune/perftool/options.py b/python/dune/perftool/options.py
index 8e195b16..7853bb54 100644
--- a/python/dune/perftool/options.py
+++ b/python/dune/perftool/options.py
@@ -85,7 +85,7 @@ class PerftoolFormOptionsArray(ImmutableRecord):
     vectorization_padding = PerftoolOption(default=None, helpstr="an explicit value for the allowed padding in vectorization")
     vectorization_allow_quadrature_changes = PerftoolOption(default=False, helpstr="whether the vectorization strategy is allowed to alter quadrature point numbers")
     vectorization_list_index = PerftoolOption(default=None, helpstr="Which vectorization to pick from a list (only valid with vectorization_strategy=fromlist).")
-    vectorization_jacobians = PerftoolOption(default=False, helpstr="Whether to attempt to vectorize jacobians (takes time, often not needed)")
+    vectorization_jacobians = PerftoolOption(default=True, helpstr="Whether to attempt to vectorize jacobians (takes time, often not needed)")
     simplify = PerftoolOption(default=False, helpstr="Whether to simplify expressions using sympy")
     generate_jacobians = PerftoolOption(default=True, helpstr="Whether jacobian_* methods should be generated. This is set to false automatically, when numerical_jacobian is set to true.")
     generate_residuals = PerftoolOption(default=True, helpstr="Whether alpha_* methods should be generated.")
-- 
GitLab