Skip to content

Commit 035aba9

Browse files
committed
fix wrong cauchy-green tensor
1 parent 7ae76e7 commit 035aba9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Elasticity/impl/Strain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ struct Strain
211211
{
212212
for (sofa::Size k = 0; k < spatial_dimensions; ++k)
213213
{
214-
C(i, j) += F(i, k) * F(j, k);
214+
C(i, j) += F(k, i) * F(k, j);
215215
}
216216
}
217217
}

0 commit comments

Comments
 (0)