normal calculation

This commit is contained in:
Jukka Aho
2015-09-13 20:58:51 +03:00
parent 734e8d81a2
commit 4fb017e9d3
4 changed files with 356 additions and 372 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function get_detJ(eq::Equation, ip::IntegrationPoint)
get_detJ(el, ip)
end
function get_detJ(el::Element, ip::IntegrationPoint)
J = get_jacobian(el, ip.xi)
J = get_Jacobian(el, ip.xi)
n, m = size(J)
if n != m # for manifolds
return norm(J)