Skip to content

Commit

Permalink
#633 couple of small things
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmar93 committed Oct 10, 2019
1 parent 34ba78a commit 1173d69
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 46 deletions.
35 changes: 0 additions & 35 deletions pybamm/solvers/c_solvers/MakeFile

This file was deleted.

17 changes: 8 additions & 9 deletions results/2plus1D/dfn_2plus1D.py
Expand Up @@ -31,13 +31,13 @@
# set mesh
var = pybamm.standard_spatial_vars
var_pts = {
var.x_n: 15,
var.x_s: 15,
var.x_p: 15,
var.r_n: 15,
var.r_p: 15,
var.y: 15,
var.z: 15,
var.x_n: 5,
var.x_s: 5,
var.x_p: 5,
var.r_n: 5,
var.r_p: 5,
var.y: 5,
var.z: 5,
}
# depnding on number of points in y-z plane may need to increase recursion depth...
sys.setrecursionlimit(10000)
Expand All @@ -51,8 +51,7 @@
tau = param.process_symbol(pybamm.standard_parameters_lithium_ion.tau_discharge)
t_end = 3600 / tau.evaluate(0)
t_eval = np.linspace(0, t_end, 120)
solver = pybamm.KLU()
solution = solver.solve(model, t_eval)
solution = pybamm.KLU().solve(model, t_eval)

# TO DO: 2+1D automated plotting
phi_s_cn = pybamm.ProcessedVariable(
Expand Down
2 changes: 1 addition & 1 deletion results/2plus1D/spm_2plus1D.py
Expand Up @@ -51,7 +51,7 @@
tau = param.process_symbol(pybamm.standard_parameters_lithium_ion.tau_discharge)
t_end = 3600 / tau.evaluate(0)
t_eval = np.linspace(0, t_end, 120)
solution = pybamm.KLU(1e-8).solve(model, t_eval)
solution = pybamm.KLU().solve(model, t_eval)

# TO DO: 2+1D automated plotting
phi_s_cn = pybamm.ProcessedVariable(
Expand Down
2 changes: 1 addition & 1 deletion results/2plus1D/spme_2plus1D.py
Expand Up @@ -51,7 +51,7 @@
tau = param.process_symbol(pybamm.standard_parameters_lithium_ion.tau_discharge)
t_end = 3600 / tau.evaluate(0)
t_eval = np.linspace(0, t_end, 120)
solution = pybamm.KLU(1e-8).solve(model, t_eval)
solution = pybamm.KLU().solve(model, t_eval)

# TO DO: 2+1D automated plotting
phi_s_cn = pybamm.ProcessedVariable(
Expand Down

0 comments on commit 1173d69

Please sign in to comment.