substructuring, fixed tests, possibility to save to integration points

This commit is contained in:
Jukka Aho
2015-11-30 16:04:13 +02:00
parent 38239bfa20
commit 458caa4757
18 changed files with 371 additions and 530 deletions
+6
View File
@@ -76,6 +76,12 @@ function get_residual_vector{P<:ElasticityProblem}(problem::Problem{P}, element:
end
E = 1/2*(F'*F - I) # strain
S = lambda*trace(E)*I + 2*mu*E
J = det(element, ip, time)
T = J^-1*F*S*F'
#ip["cauchy stress"] = T
ip["gl strain"] = E
r += F*S*dbasis
end