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

Method setParameter

SRC/element/UWelements/SimpleContact2D.cpp:837–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835}
836
837int
838SimpleContact2D::setParameter(const char **argv, int argc, Parameter &param)
839{
840 if (argc < 1)
841 return -1;
842
843 if (strcmp(argv[0],"friction") == 0) {
844 return param.addObject(1, this);
845 }
846
847 return -1;
848}
849
850int
851SimpleContact2D::updateParameter(int parameterID, Information &info)

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected