From 6926640e01bc4ec8954d637677c7556fbafcf8c9 Mon Sep 17 00:00:00 2001 From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de> Date: Tue, 30 Jan 2018 15:29:39 +0100 Subject: [PATCH] More small fixes --- python/dune/perftool/blockstructured/geometry.py | 4 ++-- test/sumfact/stokes/stokes_3d_dg.mini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/dune/perftool/blockstructured/geometry.py b/python/dune/perftool/blockstructured/geometry.py index b933c06c..1ffbdf04 100644 --- a/python/dune/perftool/blockstructured/geometry.py +++ b/python/dune/perftool/blockstructured/geometry.py @@ -15,13 +15,13 @@ import pymbolic.primitives as prim # scale determinant according to the order of the blockstructure def pymbolic_jacobian_determinant(): return prim.Quotient(prim.Variable(name_jacobian_determinant()), - prim.Power(get_option("number_of_blocks"), local_dimension())) + prim.Power(get_form_option("number_of_blocks"), local_dimension())) # scale Jacobian according to the order of the blockstructure def pymbolic_jacobian_inverse_transposed(i, j, restriction): name_jit = get_backend(interface="name_jit", selector=option_switch("constant_transformation_matrix"))(restriction) - return prim.Product((get_option("number_of_blocks"), + return prim.Product((get_form_option("number_of_blocks"), prim.Subscript(prim.Variable(name_jit), (j, i)))) diff --git a/test/sumfact/stokes/stokes_3d_dg.mini b/test/sumfact/stokes/stokes_3d_dg.mini index 5f4a2bac..7fb1b22e 100644 --- a/test/sumfact/stokes/stokes_3d_dg.mini +++ b/test/sumfact/stokes/stokes_3d_dg.mini @@ -14,7 +14,7 @@ extension = vtu [formcompiler] compare_l2errorsquared = 1e-10 -[formcompiler] +[formcompiler.r] numerical_jacobian = 0 sumfact = 1 fastdg = 1, 0 | expand fastdg \ No newline at end of file -- GitLab