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

[Cleanup] Rename: FrictionPotential -> TruncatedRateState

parent 9626d79c
Branches
No related tags found
No related merge requests found
...@@ -27,9 +27,9 @@ class FrictionPotentialWrapper { ...@@ -27,9 +27,9 @@ class FrictionPotentialWrapper {
void virtual updateAlpha(double) = 0; void virtual updateAlpha(double) = 0;
}; };
class FrictionPotential : public FrictionPotentialWrapper { class TruncatedRateState : public FrictionPotentialWrapper {
public: public:
FrictionPotential(double coefficient, double _normalStress, FrictionData _fd) TruncatedRateState(double coefficient, double _normalStress, FrictionData _fd)
: fd(_fd), weight(coefficient), normalStress(_normalStress) {} : fd(_fd), weight(coefficient), normalStress(_normalStress) {}
double coefficientOfFriction(double V) const { double coefficientOfFriction(double V) const {
......
...@@ -45,7 +45,7 @@ class GlobalRateStateFriction : public GlobalFriction<Matrix, Vector> { ...@@ -45,7 +45,7 @@ class GlobalRateStateFriction : public GlobalFriction<Matrix, Vector> {
restrictions[i] = trivialNonlinearity; restrictions[i] = trivialNonlinearity;
continue; continue;
} }
auto const fp = std::make_shared<FrictionPotential>( auto const fp = std::make_shared<TruncatedRateState>(
weights[i], normalStress[i], frictionInfo(coordinate)); weights[i], normalStress[i], frictionInfo(coordinate));
restrictions[i] = std::make_shared<Friction>(fp); restrictions[i] = std::make_shared<Friction>(fp);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment