| 362 | } |
| 363 | |
| 364 | SectionForceDeformation* |
| 365 | G3_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 | |
| 381 | UniaxialMaterial * |
| 382 | G3_getUniaxialMaterialInstance(G3_Runtime *rt, int tag) |
nothing calls this directly
no test coverage detected