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

Function OPS_getTimeSeries

SRC/domain/pattern/TimeSeries.cpp:56–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56TimeSeries *OPS_getTimeSeries(int tag) {
57
58 TaggedObject *theResult = theTimeSeriesObjects.getComponentPtr(tag);
59 if (theResult == 0) {
60 opserr << "TimeSeries *getTimeSeries(int tag) - none found with tag: " << tag << endln;
61 return 0;
62 }
63 TimeSeries *theSeries = (TimeSeries *)theResult;
64
65 return theSeries->getCopy();
66}
67
68void OPS_clearAllTimeSeries(void) {
69 theTimeSeriesObjects.clearAll();

Callers 15

OPS_groundMotionFunction · 0.85
OPS_UniformDampingFunction · 0.85
OPS_SecStifDampingFunction · 0.85
OPS_URDDampingFunction · 0.85
OPS_URDbetaDampingFunction · 0.85
TclCommand_addDampingFunction · 0.85
OPS_LoadPatternFunction · 0.85
OPS_GroundMotionFunction · 0.85

Calls 2

getComponentPtrMethod · 0.45
getCopyMethod · 0.45

Tested by 1