mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-28 04:35:08 +00:00
fixed api test, modified linearsolver constructor, added possibility to add slow tests using prefix slow_test_...
This commit is contained in:
+6
-6
@@ -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
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user