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

Method getG

SRC/element/forceBeamColumn/ForceBeamColumnCBDI2d.cpp:2113–2123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2111}
2112
2113void
2114ForceBeamColumnCBDI2d::getG(int numSections, double xi[], Matrix &G)
2115{
2116 for (int i = 0; i < numSections; i++) {
2117 G(i,0) = 1;
2118 for (int j = 1; j < numSections; j++)
2119 G(i,j) = pow(xi[i],j);
2120 }
2121
2122 return;
2123}
2124
2125void
2126ForceBeamColumnCBDI2d::getGinv(int numSections, double xi[], Matrix &Ginv)

Callers 3

updateMethod · 0.95
getGinvMethod · 0.95
computedwdhMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected