polyTopoChange: Standardised the naming of the modifyFace functions

This commit is contained in:
Henry Weller
2024-03-21 22:00:06 +00:00
parent 09c8263d08
commit ad015dffda
7 changed files with 17 additions and 17 deletions

View File

@ -258,7 +258,7 @@ void Foam::meshCutter::addFace
} }
void Foam::meshCutter::modFace void Foam::meshCutter::modifyFace
( (
polyTopoChange& meshMod, polyTopoChange& meshMod,
const label facei, const label facei,
@ -841,7 +841,7 @@ void Foam::meshCutter::setRefinement
// f0 is the added face, f1 the modified one // f0 is the added face, f1 the modified one
addFace(meshMod, facei, f0, f0Owner, f0Neighbour); addFace(meshMod, facei, f0, f0Owner, f0Neighbour);
modFace(meshMod, facei, f1, f1Owner, f1Neighbour); modifyFace(meshMod, facei, f1, f1Owner, f1Neighbour);
faceUptodate[facei] = true; faceUptodate[facei] = true;
} }
@ -880,7 +880,7 @@ void Foam::meshCutter::setRefinement
label own, nei; label own, nei;
faceCells(cuts, facei, own, nei); faceCells(cuts, facei, own, nei);
modFace(meshMod, facei, newFace, own, nei); modifyFace(meshMod, facei, newFace, own, nei);
faceUptodate[facei] = true; faceUptodate[facei] = true;
} }
@ -923,7 +923,7 @@ void Foam::meshCutter::setRefinement
label own, nei; label own, nei;
faceCells(cuts, facei, own, nei); faceCells(cuts, facei, own, nei);
modFace modifyFace
( (
meshMod, meshMod,
facei, facei,

View File

@ -195,7 +195,7 @@ class meshCutter
//- Modifies existing facei for either new owner/neighbour or //- Modifies existing facei for either new owner/neighbour or
// new face points. Checks if anything changed and flips face // new face points. Checks if anything changed and flips face
// if owner>neighbour // if owner>neighbour
void modFace void modifyFace
( (
polyTopoChange& meshMod, polyTopoChange& meshMod,
const label facei, const label facei,

View File

@ -210,7 +210,7 @@ Foam::label Foam::hexRef8::addInternalFace
} }
void Foam::hexRef8::modFace void Foam::hexRef8::modifyFace
( (
polyTopoChange& meshMod, polyTopoChange& meshMod,
const label facei, const label facei,
@ -3816,7 +3816,7 @@ Foam::labelListList Foam::hexRef8::setRefinement
{ {
modifiedFace = true; modifiedFace = true;
modFace(meshMod, facei, newFace, own, nei); modifyFace(meshMod, facei, newFace, own, nei);
} }
else else
{ {
@ -3934,7 +3934,7 @@ Foam::labelListList Foam::hexRef8::setRefinement
} }
} }
modFace(meshMod, facei, newFace, own, nei); modifyFace(meshMod, facei, newFace, own, nei);
// Mark face as having been handled // Mark face as having been handled
affectedFace.unset(facei); affectedFace.unset(facei);
@ -3976,7 +3976,7 @@ Foam::labelListList Foam::hexRef8::setRefinement
nei nei
); );
modFace(meshMod, facei, f, own, nei); modifyFace(meshMod, facei, f, own, nei);
// Mark face as having been handled // Mark face as having been handled
affectedFace.unset(facei); affectedFace.unset(facei);

View File

@ -143,7 +143,7 @@ class hexRef8
//- Modifies existing facei for either new owner/neighbour or new face //- Modifies existing facei for either new owner/neighbour or new face
// points. Reverses if necessary. // points. Reverses if necessary.
void modFace void modifyFace
( (
polyTopoChange& meshMod, polyTopoChange& meshMod,
const label facei, const label facei,

View File

@ -229,7 +229,7 @@ class polyTopoChange
//- Return face points //- Return face points
pointField facePoints(const face& f) const; pointField facePoints(const face& f) const;
//- Check inputs to modFace or addFace //- Check inputs to modifyFace or addFace
void checkFace void checkFace
( (
const face&, const face&,

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -378,7 +378,7 @@ void Foam::removeFaces::mergeFaces
// << endl; // << endl;
//} //}
modFace modifyFace
( (
mergedFace, // modified face mergedFace, // modified face
facei, // label of face being modified facei, // label of face being modified
@ -467,7 +467,7 @@ Foam::face Foam::removeFaces::filterFace
// Wrapper for meshMod.modifyFace. Reverses face if own>nei. // Wrapper for meshMod.modifyFace. Reverses face if own>nei.
void Foam::removeFaces::modFace void Foam::removeFaces::modifyFace
( (
const face& f, const face& f,
const label masterFaceID, const label masterFaceID,
@ -1466,7 +1466,7 @@ void Foam::removeFaces::setRefinement
// << endl; // << endl;
// } // }
modFace modifyFace
( (
f, // modified face f, // modified face
facei, // label of face being modified facei, // label of face being modified

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org \\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -139,7 +139,7 @@ class removeFaces
face filterFace(const labelHashSet&, const label) const; face filterFace(const labelHashSet&, const label) const;
//- Wrapper for meshMod.modifyFace. Reverses face if own>nei. //- Wrapper for meshMod.modifyFace. Reverses face if own>nei.
void modFace void modifyFace
( (
const face& f, const face& f,
const label masterFaceID, const label masterFaceID,