mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: revert bitSet/HashSet setMany() to set() method (issue #837)
- improves backward compatibility and more naming consistency. Retain setMany(iter1, iter2) to avoid ambiguity with the PackedList::set(index, value) method.
This commit is contained in:
@ -120,7 +120,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
const labelList& pCells = mesh.pointCells()[meshPointi];
|
||||
|
||||
cutCells.insertMany(pCells);
|
||||
cutCells.insert(pCells);
|
||||
}
|
||||
}
|
||||
|
||||
@ -153,7 +153,7 @@ int main(int argc, char *argv[])
|
||||
const polyPatch& pp = mesh.boundaryMesh()[patchi];
|
||||
const labelList& meshPoints = pp.meshPoints();
|
||||
|
||||
vertOnPatch.setMany(meshPoints);
|
||||
vertOnPatch.set(meshPoints);
|
||||
}
|
||||
|
||||
for (const label patchi : patchSet)
|
||||
|
||||
Reference in New Issue
Block a user