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

Function G3_addUniaxialMaterial

SRC/runtime/parsing/InterpreterAPI.cpp:389–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387}
388
389int
390G3_addUniaxialMaterial(G3_Runtime *rt, UniaxialMaterial *mat) {
391 BasicModelBuilder* builder = G3_getSafeBuilder(rt);
392 assert(builder != nullptr);
393 assert(mat != nullptr);
394
395 return builder->addTaggedObject<UniaxialMaterial>(*mat);
396}
397
398NDMaterial *
399G3_GetNDMaterial(G3_Runtime* rt, int matTag)

Callers

nothing calls this directly

Calls 1

G3_getSafeBuilderFunction · 0.85

Tested by

no test coverage detected