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

Method setDisplayCrds

SRC/domain/node/Node.cpp:2372–2385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370}
2371
2372int
2373Node::setDisplayCrds(const Vector &theCrds)
2374{
2375 if (theCrds.Size() != Crd->Size()) {
2376 return -1;
2377 }
2378
2379 if (displayLocation == 0) {
2380 displayLocation = new Vector(theCrds);
2381 } else {
2382 *displayLocation = theCrds;
2383 }
2384 return 0;
2385}
2386
2387
2388//Add Pointer to NodalThermalAction id applicable------begin-----L.Jiang, [SIF]

Callers 3

TclCommand_addNodeFunction · 0.45
OPS_NodeFunction · 0.45
TclCommand_addNodeFunction · 0.45

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected