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

Function invertBBendingTerms

SRC/element/shell/ASDShellT3.cpp:486–499  ·  view source on GitHub ↗

invert bending terms

Source from the content-addressed store, hash-verified

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)

Callers 1

calculateAllMethod · 0.70

Calls 1

addMatrixMethod · 0.45

Tested by

no test coverage detected