Skip to content

Commit

Permalink
Setting trial variables in revertToStart
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott committed Apr 18, 2024
1 parent adcef66 commit af7e3dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SRC/material/uniaxial/SeriesMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,11 @@ SeriesMaterial::revertToStart(void)

Cstrain = 0.0;
Cstress = 0.0;
Ctangent = 0.0;
Ctangent = this->getInitialTangent();

Tstrain = 0.0;
Tstress = 0.0;
Ttangent = Ctangent;

for (int i = 0; i < numMaterials; i++) {
err += theModels[i]->revertToStart();
Expand Down

0 comments on commit af7e3dc

Please sign in to comment.