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

Function OPS_FiberSection

SRC/interpreter/OpenSeesSectionCommands.cpp:166–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 static void* OPS_FiberSection()
167 {
168 void* theSec = 0;
169 int ndm = OPS_GetNDM();
170 int ndf = OPS_GetNDF();
171 if(ndm == 2) {
172 theSec = OPS_FiberSection2d();
173 theActiveFiberSection2d = (FiberSection2d*)theSec;
174 } else if(ndm == 3) {
175 theSec = OPS_FiberSection3d();
176 theActiveFiberSection3d = (FiberSection3d*)theSec;
177 }
178
179 return theSec;
180 }
181
182 static void* OPS_FiberSectionWarping()
183 {

Callers

nothing calls this directly

Calls 4

OPS_FiberSection2dFunction · 0.85
OPS_FiberSection3dFunction · 0.85
OPS_GetNDMFunction · 0.70
OPS_GetNDFFunction · 0.70

Tested by

no test coverage detected