Skip to content

Commit

Permalink
Fixed small bug in evaluation of elastic tangent in cubic-CLE and ort…
Browse files Browse the repository at this point in the history
…ho-CLE materials
  • Loading branch information
gateshian committed Oct 3, 2024
1 parent b27cc08 commit ce496e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FEBioMech/FECubicCLE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ tens4ds FECubicCLE::Tangent(FEMaterialPoint& mp)
for (i=0; i<3; ++i) {
c += dyad4s(A[i], B)*mu[i];
for (j=0; j<3; ++j) {
c += dyad1s(A[i],A[j])*lam[i][j];
c += dyad1s(A[i],A[j])*lam[i][j]/2;
}
}
c /= J;
Expand Down
2 changes: 1 addition & 1 deletion FEBioMech/FEOrthotropicCLE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ tens4ds FEOrthotropicCLE::Tangent(FEMaterialPoint& mp)
for (i=0; i<3; ++i) {
c += dyad4s(A[i], B)*mu[i];
for (j=0; j<3; ++j) {
c += dyad1s(A[i],A[j])*lam[i][j];
c += dyad1s(A[i],A[j])*lam[i][j]/2;
}
}
c /= J;
Expand Down

0 comments on commit ce496e4

Please sign in to comment.