all tests pass now

This commit is contained in:
Jukka Aho
2016-07-03 21:16:03 +03:00
parent eec6db657d
commit 757ba2b3d9
52 changed files with 607 additions and 853 deletions
+3 -6
View File
@@ -80,19 +80,16 @@ function get_test_model()
return body1, body2, body3, bc1, bc2, bc3, bc4, bc5
end
#= TODO: Fix test
@testset "test 2d mortar problem with three bodies and shared nodes" begin
body1, body2, body3, bc1, bc2, bc3, bc4, bc5 = get_test_model()
solver = Solver(Nonlinear)
solver.properties.linear_system_solver = :DirectLinearSolver_UMFPACK
solver = Solver(Linear)
push!(solver, body1, body2, body3, bc1, bc2, bc3, bc4, bc5)
solver()
X = e3("geometry", [1.0, 1.0], 0.0)
u = e3("displacement", [1.0, 1.0], 0.0)
info("displacement at $X: $u")
u_expected = [-1/3, 1.0]
@test isapprox(u, u_expected)
end
=#