diff --git a/dune/tectonic/frictionpotential.hh b/dune/tectonic/frictionpotential.hh index a806aa380491159421c8f284cc21e8d4122ec954..4dbec7e7127d02733ff5b3ec2edfa1addc63ce8e 100644 --- a/dune/tectonic/frictionpotential.hh +++ b/dune/tectonic/frictionpotential.hh @@ -27,9 +27,9 @@ class FrictionPotentialWrapper { void virtual updateAlpha(double) = 0; }; -class FrictionPotential : public FrictionPotentialWrapper { +class TruncatedRateState : public FrictionPotentialWrapper { public: - FrictionPotential(double coefficient, double _normalStress, FrictionData _fd) + TruncatedRateState(double coefficient, double _normalStress, FrictionData _fd) : fd(_fd), weight(coefficient), normalStress(_normalStress) {} double coefficientOfFriction(double V) const { diff --git a/dune/tectonic/globalratestatefriction.hh b/dune/tectonic/globalratestatefriction.hh index 6fdcfacd9f3f6ab77fc3682d21e9fc6739290d1d..1ec0701797e3e1da2e681b0e563f365dc63cf67c 100644 --- a/dune/tectonic/globalratestatefriction.hh +++ b/dune/tectonic/globalratestatefriction.hh @@ -45,7 +45,7 @@ class GlobalRateStateFriction : public GlobalFriction<Matrix, Vector> { restrictions[i] = trivialNonlinearity; continue; } - auto const fp = std::make_shared<FrictionPotential>( + auto const fp = std::make_shared<TruncatedRateState>( weights[i], normalStress[i], frictionInfo(coordinate)); restrictions[i] = std::make_shared<Friction>(fp); }