invert bending terms
| 648 | |
| 649 | // invert bending terms |
| 650 | void invertBBendingTerms( |
| 651 | const Matrix& B, |
| 652 | Matrix& B1) |
| 653 | { |
| 654 | // due to the convention in the shell sections, we need to change the sign of the bending terms |
| 655 | // for the B^T case. |
| 656 | B1.addMatrix(0.0, B, 1.0); |
| 657 | for (int i = 3; i < 6; i++) { |
| 658 | for (int j = 0; j < 4; j++) { |
| 659 | B1(i, j * 6 + 3) *= -1.0; |
| 660 | B1(i, j * 6 + 4) *= -1.0; |
| 661 | } |
| 662 | } |
| 663 | } |
| 664 | |
| 665 | // computes the transformation matrix for generalized strains |
| 666 | inline void getRotationMatrixForGeneralizedStrains(double radians, Matrix& T) |