MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / invertBBendingTerms

Function invertBBendingTerms

SRC/element/shell/ASDShellQ4.cpp:650–663  ·  view source on GitHub ↗

invert bending terms

Source from the content-addressed store, hash-verified

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)

Callers 1

calculateAllMethod · 0.70

Calls 1

addMatrixMethod · 0.45

Tested by

no test coverage detected