Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
d2f4d131d9eac6cc27e3d6245ab1476b committed Jul 28, 2024
1 parent b70c62a commit c100072
Show file tree
Hide file tree
Showing 3 changed files with 619 additions and 146 deletions.
9 changes: 6 additions & 3 deletions playground/benchmark-umut-at2/vs_analytics_at2.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,9 @@ def load_parameters(file_path, ndofs, model="at2"):
# Get mesh parameters

if model == "at2":
parameters["loading"]["min"] = 0.0
parameters["loading"]["max"] = 3.0
parameters["loading"]["steps"] = 30
parameters["loading"]["min"] = 1.5
parameters["loading"]["max"] = 3.5
parameters["loading"]["steps"] = 10

parameters["geometry"]["geom_type"] = "1d-bar"
parameters["geometry"]["mesh_size_factor"] = 4
Expand All @@ -512,6 +512,9 @@ def load_parameters(file_path, ndofs, model="at2"):
parameters["model"]["mu"] = 1
parameters["model"]["kappa"] = (.34)**(-2)

parameters["solvers"]["newton"]["snes_atol"] = 1.0e-12
parameters["solvers"]["newton"]["snes_rtol"] = 1.0e-12

signature = hashlib.md5(str(parameters).encode("utf-8")).hexdigest()

return parameters, signature
Expand Down
Loading

0 comments on commit c100072

Please sign in to comment.