Skip to content
Snippets Groups Projects
Commit 0edb8dac authored by podlesny's avatar podlesny
Browse files

smaller tresca threshold

parent 167a2e45
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,7 @@ class Tresca : public FrictionPotential { ...@@ -151,7 +151,7 @@ class Tresca : public FrictionPotential {
} }
double regularity(double V) const override { double regularity(double V) const override {
if (std::abs(V) < 1e-14) // TODO if (std::abs(V) < 1e-7) // TODO
return std::numeric_limits<double>::infinity(); return std::numeric_limits<double>::infinity();
return std::abs(second_deriv(V)); return std::abs(second_deriv(V));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment