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

Fix constant jacobian inverse!

parent 69158898
No related branches found
No related tags found
No related merge requests found
......@@ -294,6 +294,10 @@ def define_constant_jacobian_inveser_transposed(name, restriction):
pos = name_localcenter()
dim = name_dimension()
if restriction:
geo_in = name_in_cell_geometry(restriction)
pos = "{}.global({})".format(geo_in, pos)
globalarg(name, dtype=np.float64, shape=(dim, dim), managed=False)
return 'auto {} = {}.jacobianInverseTransposed({});'.format(name,
......
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