mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use HashTable iterator 'val()' method instead of 'object()'
This commit is contained in:
@ -431,7 +431,7 @@ Foam::face Foam::meshCutter::addEdgeCutsToFace(const label facei) const
|
||||
if (fnd.found())
|
||||
{
|
||||
// edge has been cut. Introduce new vertex.
|
||||
newFace[newFp++] = fnd.object();
|
||||
newFace[newFp++] = fnd.val();
|
||||
}
|
||||
}
|
||||
|
||||
@ -489,7 +489,7 @@ Foam::face Foam::meshCutter::loopToFace
|
||||
|
||||
if (fnd.found())
|
||||
{
|
||||
newFace[newFacei++] = fnd.object();
|
||||
newFace[newFacei++] = fnd.val();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1074,7 +1074,7 @@ void Foam::meshCutter::updateMesh(const mapPolyMesh& morphMap)
|
||||
forAllConstIters(addedPoints_, iter)
|
||||
{
|
||||
const edge& e = iter.key();
|
||||
const label addedPointi = iter.object();
|
||||
const label addedPointi = iter.val();
|
||||
|
||||
label newStart = morphMap.reversePointMap()[e.start()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user