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

[Cleanup] Rename: FrictionPotential -> TruncatedRateState

parent 9626d79c
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment