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

Method removeRecorder

SRC/domain/domain/Domain.cpp:2659–2673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2657}
2658
2659int
2660Domain::removeRecorder(int tag)
2661{
2662 for (int i=0; i<numRecorders; i++) {
2663 if (theRecorders[i] != 0) {
2664 if (theRecorders[i]->getTag() == tag) {
2665 delete theRecorders[i];
2666 theRecorders[i] = 0;
2667 return 0;
2668 }
2669 }
2670 }
2671
2672 return -1;
2673}
2674
2675
2676

Callers 3

OPS_removeObjectFunction · 0.45
removeObjectFunction · 0.45
removeObjectFunction · 0.45

Calls 1

getTagMethod · 0.45

Tested by

no test coverage detected