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

Function G3_getSectionForceDeformation

SRC/runtime/parsing/InterpreterAPI.cpp:364–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364SectionForceDeformation*
365G3_getSectionForceDeformation(G3_Runtime* rt, int tag)
366{
367 BasicModelBuilder* builder = G3_getSafeBuilder(rt);
368 assert(builder);
369 SectionForceDeformation* theSection = nullptr;
370
371 if (builder->getNDM() == 3)
372 theSection = builder->getTypedObject<FrameSection>(tag);
373
374 if (theSection != nullptr)
375 return theSection;
376 else
377 return builder->getTypedObject<SectionForceDeformation>(tag);
378
379}
380
381UniaxialMaterial *
382G3_getUniaxialMaterialInstance(G3_Runtime *rt, int tag)

Callers

nothing calls this directly

Calls 2

G3_getSafeBuilderFunction · 0.85
getNDMMethod · 0.45

Tested by

no test coverage detected