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

Method getLocation

SRC/matrix/ID.cpp:210–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210int
211ID::getLocation(int value) const
212{
213 // search through ID for the value
214 for (int i=0; i<sz; i++)
215 if (data[i] == value)
216 return i;
217
218 // if we get here the value is not in the array
219 return -1;
220}
221
222
223int

Callers 15

solveMethod · 0.45
setSizeMethod · 0.45
solveMethod · 0.45
solveMethod · 0.45
addAMethod · 0.45
reorderMethod · 0.45
solveMethod · 0.45
RigidDiaphragmMethod · 0.45
addMotionMethod · 0.45
getMotionMethod · 0.45
setDomainMethod · 0.45
do_intitializationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected