changed LoadCase => Simulation

This commit is contained in:
Olli Väinölä
2015-12-04 08:27:59 +02:00
parent 5d6ab746d6
commit bc7f202d9c
5 changed files with 28 additions and 23 deletions
+9 -6
View File
@@ -71,12 +71,15 @@ function get_solver(model::Model, case_name::ASCIIString, time::Float64)
end
# Creating the solver
#solver = JuliaFEM.Core.(case.solver)(field_problem, dirile_arr...)
solver = JuliaFEM.Core.(case.solver)()
push!(solver, field_problem)
for d in dirile_arr
push!(solver, d)
end
if case.solver == :LinearSolver
solver = JuliaFEM.Core.(case.solver)(field_problem, dirile_arr...)
else
solver = JuliaFEM.Core.(case.solver)()
push!(solver, field_problem)
for d in dirile_arr
push!(solver, d)
end
end
return solver
end