heat problem

This commit is contained in:
Jukka Aho
2016-07-01 02:55:56 +03:00
parent ce9eb715ec
commit 9f4eface6c
11 changed files with 328 additions and 33 deletions
+6 -1
View File
@@ -511,13 +511,18 @@ function call(solver::Solver{Linear}; F=nothing, show_info=true, return_factoriz
end
""" Convenience function to call linear solver. """
function LinearSolver(problems...)
function LinearSolver(problems::Problem...)
solver = Solver(Linear, "default linear solver")
if length(problems) != 0
push!(solver, problems...)
end
return solver
end
function LinearSolver(name::ASCIIString, problems::Problem...)
solver = LinearSolver(problems...)
solver.name = name
return solver
end
### End of linear quasistatic solver