From ac9e00645726345380bf58c59231449e277620df Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 17 Dec 2013 13:14:55 +0100 Subject: [PATCH] [Cleanup] --- dune/tectonic/frictionpotential.hh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dune/tectonic/frictionpotential.hh b/dune/tectonic/frictionpotential.hh index 9498740f..f0d6e64a 100644 --- a/dune/tectonic/frictionpotential.hh +++ b/dune/tectonic/frictionpotential.hh @@ -26,15 +26,11 @@ class FrictionPotentialWrapper { void virtual updateLogState(double) = 0; }; -// V log(V/V_m) - V + V_m if V >= V_m -// 0 otherwise class FrictionPotential : public FrictionPotentialWrapper { public: FrictionPotential(double coefficient, FrictionData const &_fd) : fd(_fd), weightTimesNormalStress(coefficient * (-fd.normalStress)) {} - // log(V/V_m) if V >= V_0 - // 0 otherwise double differential(double V) const { assert(V >= 0.0); if (V <= V_cutoff) @@ -43,8 +39,6 @@ class FrictionPotential : public FrictionPotentialWrapper { return weightTimesNormalStress * fd.a * (std::log(V) - logV_m); } - // 1/V if V > V_0 - // 0 if V < V_0 double second_deriv(double V) const { assert(V >= 0); if (V <= V_cutoff) -- GitLab