MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / updateSet

Function updateSet

src/meshTools/sets/topoSets/cellZoneSet.C:48–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
47
48void cellZoneSet::updateSet()
49{
50 labelList order;
51 sortedOrder(addressing_, order);
52 inplaceReorder(order, addressing_);
53
54 cellSet::clearStorage();
55 cellSet::resize(2*addressing_.size());
56 forAll(addressing_, i)
57 {
58 cellSet::insert(addressing_[i]);
59 }
60}
61
62
63// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 7

cellZoneSet.CFile · 0.70
invertFunction · 0.70
subsetFunction · 0.70
addSetFunction · 0.70
deleteSetFunction · 0.70
syncFunction · 0.70
updateMeshFunction · 0.70

Calls 4

resizeFunction · 0.50
forAllFunction · 0.50
insertFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected