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

Function updateSet

src/meshTools/sets/topoSets/pointZoneSet.C:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 7

pointZoneSet.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