From 07fe536295c6aca5c438fe6e92d53eaefb82a011 Mon Sep 17 00:00:00 2001 From: "Michael H. Scott" Date: Sat, 27 Apr 2024 09:30:17 -0700 Subject: [PATCH] Update SimpleFractureMaterial.cpp --- SRC/material/uniaxial/SimpleFractureMaterial.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SRC/material/uniaxial/SimpleFractureMaterial.cpp b/SRC/material/uniaxial/SimpleFractureMaterial.cpp index a0e4f8996b..93dbaab000 100644 --- a/SRC/material/uniaxial/SimpleFractureMaterial.cpp +++ b/SRC/material/uniaxial/SimpleFractureMaterial.cpp @@ -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();