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

Method getMotion

SRC/domain/pattern/MultiSupportPattern.cpp:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147
148GroundMotion *
149MultiSupportPattern::getMotion(int tag)
150{
151 int loc = theMotionTags.getLocation(tag);
152 if (loc < 0)
153 return 0;
154 else
155 return theMotions[loc];
156
157}
158
159
160bool

Callers

nothing calls this directly

Calls 1

getLocationMethod · 0.45

Tested by

no test coverage detected