Skip to content
Snippets Groups Projects
Commit 6926640e authored by Dominic Kempf's avatar Dominic Kempf
Browse files

More small fixes

parent d34ddd58
No related branches found
No related tags found
No related merge requests found
......@@ -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))))
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment