fixed api test, modified linearsolver constructor, added possibility to add slow tests using prefix slow_test_...

This commit is contained in:
Jukka Aho
2015-12-04 20:43:37 +02:00
parent 135f6d9fbc
commit bc7b9e9b91
4 changed files with 41 additions and 17 deletions
+6 -6
View File
@@ -42,15 +42,15 @@ function create_solver(model, case, core_elements, dirichlet_arr)
# Creating the solver and pushing problems and
# boundary conditions
if case.solver == :LinearSolver
solver = JuliaFEM.Core.(case.solver)(field_problem,
dirichlet_arr...)
else
# if case.solver == :LinearSolver
# solver = JuliaFEM.Core.(case.solver)(field_problem,
# dirichlet_arr...)
# else
solver = JuliaFEM.Core.(case.solver)()
push!(solver, field_problem)
push!(solver, dirichlet_arr...)
end
solver
# end
return solver
end
"""