Skip to content

Commit

Permalink
updated boron mesh and tolerances
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelyndunnell committed Dec 20, 2024
1 parent f46e7f9 commit 8ffb867
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/hisp/festim_models/mb_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,9 @@ def make_B_mb_model(

vertices = np.concatenate( # 1D mesh with extra refinement
[
np.linspace(0, 30e-9, num=200),
np.linspace(30e-9, L, num=200),
np.linspace(0, 5e-9, num=300),
np.linspace(5e-9, 1e-8, num=500),
np.linspace(1e-8, L, num=300),
]
)
my_model.mesh = F.Mesh1D(vertices)
Expand Down Expand Up @@ -540,7 +541,7 @@ def make_B_mb_model(
############# Settings #############
my_model.settings = F.Settings(
atol=1e10,
rtol=1e-10,
rtol=1e-5,
max_iterations=1000,
final_time=final_time,
)
Expand Down

0 comments on commit 8ffb867

Please sign in to comment.