MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / ~BackgroundGrid

Method ~BackgroundGrid

SRC/element/PFEMElement/BackgroundGrid.cpp:43–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43BackgroundGrid::~BackgroundGrid()
44{
45 // for each grid
46 reset();
47 while (isEnd() == false) {
48
49 // remove data
50 if (iter->second != 0) {
51 delete iter->second;
52 iter->second = 0;
53 }
54
55 next();
56 }
57
58 data.clear();
59 iter = data.end();
60}
61
62void
63BackgroundGrid::reset(const GridIndex& index)

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected