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 7b401a3 commit e17ffb3
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 @@ -68,7 +68,7 @@ namespace mfront {
c += sp.computeDerivatives(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 + ">0){\n";
c += dfp_ddp + " = -1*std::max(real(1.e-12),(" + dR_ddp + ")/(" + snf +
"));\n";
Expand Down

0 comments on commit e17ffb3

Please sign in to comment.