Skip to content

Commit

Permalink
Fix Issue #163
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Apr 13, 2022
1 parent 2ccf371 commit d9f9585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mfront/src/PlasticInelasticFlow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ namespace mfront::bbrick {
c += sp.generateImplicitEquationDerivatives(
bd, "strain", "p" + id, dseq_ds + "/(" + snf + ")",
this->sc->isNormalDeviatoric());
c += "if(seq<" + sp.getEquivalentStressLowerBound(bd) + "){\n";
c += "if(" + seq + " < " + sp.getEquivalentStressLowerBound(bd) + "){\n";
c += "if(" + dR_ddp + " > stress(0)){\n";
c += dfp_ddp + " = -1*std::max(real(1.e-12),(" + dR_ddp + ")/(" + snf +
"));\n";
Expand Down

0 comments on commit d9f9585

Please sign in to comment.