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

Method getParts

SRC/recorder/PVDRecorder.cpp:358–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358void
359PVDRecorder::getParts()
360{
361 if (theDomain == 0) {
362 opserr<<"WARNING: setDomain has not been called -- PVDRecorder\n";
363 return;
364 }
365
366 ElementIter* eiter = &(theDomain->getElements());
367 Element* theEle = 0;
368 while((theEle = (*eiter)()) != 0) {
369 int ctag = theEle->getClassTag();
370 int etag = theEle->getTag();
371 parts[ctag].insert(etag);
372 }
373}
374
375int
376PVDRecorder::savePart0(int nodendf)

Callers 1

vtuMethod · 0.95

Calls 4

getElementsMethod · 0.45
getClassTagMethod · 0.45
getTagMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected