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

Function updateSet

src/meshTools/sets/topoSets/faceZoneSet.C:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
50
51void faceZoneSet::updateSet()
52{
53 labelList order;
54 sortedOrder(addressing_, order);
55 addressing_ = UIndirectList<label>(addressing_, order)();
56 flipMap_ = UIndirectList<bool>(flipMap_, order)();
57
58 faceSet::clearStorage();
59 faceSet::resize(2*addressing_.size());
60 forAll(addressing_, i)
61 {
62 faceSet::insert(addressing_[i]);
63 }
64}
65
66
67// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 7

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