invert bending terms
| 484 | |
| 485 | // invert bending terms |
| 486 | void invertBBendingTerms( |
| 487 | const Matrix& B, |
| 488 | Matrix& B1) |
| 489 | { |
| 490 | // due to the convention in the shell sections, we need to change the sign of the bending terms |
| 491 | // for the B^T case. |
| 492 | B1.addMatrix(0.0, B, 1.0); |
| 493 | for (int i = 3; i < 6; i++) { |
| 494 | for (int j = 0; j < 3; j++) { |
| 495 | B1(i, j * 6 + 3) *= -1.0; |
| 496 | B1(i, j * 6 + 4) *= -1.0; |
| 497 | } |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | // computes the transformation matrix for generalized strains |
| 502 | inline void getRotationMatrixForGeneralizedStrains(double radians, Matrix& T) |