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

Method setParameter

SRC/element/componentElement/ComponentElement2d.cpp:1321–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319}
1320
1321int
1322ComponentElement2d::setParameter(const char **argv, int argc, Parameter &param)
1323{
1324 if (argc < 1)
1325 return -1;
1326
1327 // E of the beam interior
1328 if (strcmp(argv[0],"E") == 0)
1329 return param.addObject(1, this);
1330
1331 // A of the beam interior
1332 if (strcmp(argv[0],"A") == 0)
1333 return param.addObject(2, this);
1334
1335 // I of the beam interior
1336 if (strcmp(argv[0],"I") == 0)
1337 return param.addObject(3, this);
1338
1339 return -1;
1340}
1341
1342int
1343ComponentElement2d::updateParameter (int parameterID, Information &info)

Callers

nothing calls this directly

Calls 1

addObjectMethod · 0.45

Tested by

no test coverage detected