Skip to content

Commit

Permalink
Update SimpleFractureMaterial.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott authored Apr 27, 2024
1 parent d345fa1 commit 07fe536
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions SRC/material/uniaxial/SimpleFractureMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,10 @@ SimpleFractureMaterial::revertToStart(void)
{
if (theMaterial == 0)
return -1;

Tfailed = false;
Cstrain = 0;

Cfailed = false;
Cstrain = 0.0;
CstartCompStrain = 0.0;
theMaterial->revertToStart();
theMaterial->setTrialStrain(Cstrain);
Ctangent = theMaterial->getTangent();
Expand Down

0 comments on commit 07fe536

Please sign in to comment.