Skip to content
Snippets Groups Projects
Commit e1b3f6b9 authored by Marcel Koch's avatar Marcel Koch
Browse files

undo more changes missed in 04e6f465

parent 6e93f806
No related branches found
No related tags found
No related merge requests found
......@@ -52,14 +52,9 @@ class BlockStructuredGeometryMixin(GenericPDELabGeometryMixin):
prim.Power(get_form_option("number_of_blocks"), local_dimension()))
def jacobian_determinant(self, o):
inames = self.inames
self.inames = inames + sub_element_inames()
jacobian = name_jacobian_matrix(self)
name = name_determinant(jacobian, (world_dimension(), world_dimension()), self)
self.inames = inames
return prim.Quotient(prim.Call(prim.Variable("abs"), (prim.Variable(name),)),
prim.Power(get_form_option("number_of_blocks"), local_dimension()))
......@@ -70,14 +65,9 @@ class BlockStructuredGeometryMixin(GenericPDELabGeometryMixin):
restriction = enforce_boundary_restriction(self)
inames = self.inames
self.inames = inames + sub_element_inames()
jacobian = restricted_name(name_jacobian_matrix(self), restriction)
name = name_matrix_inverse(jacobian, (world_dimension(), world_dimension()), self)
self.inames = inames
return prim.Product((prim.Subscript(prim.Variable(name), (j, i)),
get_form_option("number_of_blocks")))
......
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