Skip to content

Commit

Permalink
reduce W and DFW initial values; refine DFW mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelyndunnell committed Dec 23, 2024
1 parent 3a2363a commit f595dd0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/hisp/festim_models/mb_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def make_W_mb_model(
final_time=final_time,
)

my_model.settings.stepsize = F.Stepsize(initial_value=1)
my_model.settings.stepsize = F.Stepsize(initial_value=1e-3)

return my_model, quantities

Expand Down Expand Up @@ -585,8 +585,9 @@ def make_DFW_mb_model(
[
np.linspace(0, 30e-9, num=200),
np.linspace(30e-9, 3e-6, num=300),
np.linspace(3e-6, 30e-6, num=200),
np.linspace(30e-6, L, num=200),
np.linspace(3e-6, 30e-6, num=300),
np.linspace(30e-6, 1e-4, num=300),
np.linspace(1e-4, L, num=200),
]
)
my_model.mesh = F.Mesh1D(vertices)
Expand Down Expand Up @@ -751,7 +752,7 @@ def make_DFW_mb_model(
final_time=final_time,
)

my_model.settings.stepsize = F.Stepsize(initial_value=1)
my_model.settings.stepsize = F.Stepsize(initial_value=1e-3)

return my_model, quantities

Expand Down

0 comments on commit f595dd0

Please sign in to comment.