Skip to content

Commit

Permalink
Fix cohesion bug by adding epsilon1 and epsilon2 (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiannh7 authored Oct 31, 2024
1 parent 8ed37d7 commit 3f17aba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion underworld/UWGeodynamics/_rheology.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ def _cohesionFn(self):
cohesion = self.cohesionWeakeningFn(
self.plasticStrain,
Cohesion=nd(self.cohesion),
CohesionSw=nd(self.cohesionAfterSoftening))
CohesionSw=nd(self.cohesionAfterSoftening),
epsilon1=self.epsilon1,
epsilon2=self.epsilon2)
else:
cohesion = fn.misc.constant(self.cohesion)
return cohesion
Expand Down

0 comments on commit 3f17aba

Please sign in to comment.