Skip to content
Snippets Groups Projects
Commit ac950fb2 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Do not implement differential twice

parent 70a7ff91
No related branches found
No related tags found
No related merge requests found
...@@ -81,12 +81,7 @@ class RuinaFunction : public NiceFunction { ...@@ -81,12 +81,7 @@ class RuinaFunction : public NiceFunction {
/* see above */ /* see above */
double virtual rightDifferential(double s) const { double virtual rightDifferential(double s) const {
double const arg = eta * s / h; return leftDifferential(s);
if (arg <= rho)
return 0;
return coefficient * normalStress *
(a * std::log(arg) + mu + compound_state);
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment