mappedExtrudedPatchBase: New base class for extruded patches

mappedExtrudedPolyPatch and mappedExtrudedWallPolyPatch are now derived from mappedExtrudedPatchBase
This commit is contained in:
Henry Weller
2023-03-02 20:25:22 +00:00
parent 7cc5cba5b4
commit 390c588cd4
19 changed files with 470 additions and 296 deletions

View File

@ -552,11 +552,21 @@ void addCouplingPatches
<< "-------\t-----\t----"
<< endl;
const wordList patchNames
wordList patchNames
(
dict.lookupOrDefault("patchNames", wordList())
);
wordList regionPatchNames
(
dict.lookupOrDefault("regionPatchNames", wordList())
);
if (isShellMesh)
{
patchNames.swap(regionPatchNames);
}
const wordList patchTypes
(
isShellMesh
@ -572,11 +582,6 @@ void addCouplingPatches
)
);
const wordList regionPatchNames
(
dict.lookupOrDefault("regionPatchNames", wordList())
);
const wordList regionOppositePatchTypes
(
dict.lookupOrDefault("regionOppositePatchTypes", wordList())
@ -672,7 +677,7 @@ void addCouplingPatches
topPatchDict.add("neighbourPatch", topNbrPatchName);
if (isShellMesh)
{
topPatchDict.add("bottomPatch", bottomPatchName);
topPatchDict.add("oppositePatch", bottomPatchName);
}
zoneTopPatch[zonei] = addPatch