mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamyHexMesh: Generate coincident-full-match processor patches
This commit is contained in:
committed by
Andrew Heather
parent
47979d18ff
commit
3839f7478a
@ -610,23 +610,6 @@ void Foam::conformalVoronoiMesh::reorderProcessorPatches
|
||||
);
|
||||
const fvMesh& sortMesh = sortMeshPtr();
|
||||
|
||||
// Change the transform type on processors to coincident full match.
|
||||
// forAll(sortMesh.boundaryMesh(), patchi)
|
||||
// {
|
||||
// const polyPatch& patch = sortMesh.boundaryMesh()[patchi];
|
||||
//
|
||||
// if (isA<processorPolyPatch>(patch))
|
||||
// {
|
||||
// const processorPolyPatch& cpPatch
|
||||
// = refCast<const processorPolyPatch>(patch);
|
||||
//
|
||||
// processorPolyPatch& pPatch
|
||||
// = const_cast<processorPolyPatch&>(cpPatch);
|
||||
//
|
||||
// pPatch.transform() = coupledPolyPatch::COINCIDENTFULLMATCH;
|
||||
// }
|
||||
// }
|
||||
|
||||
// Rotation on new faces.
|
||||
labelList rotation(faces.size(), label(0));
|
||||
labelList faceMap(faces.size(), label(-1));
|
||||
@ -846,8 +829,7 @@ void Foam::conformalVoronoiMesh::writeMesh
|
||||
const_cast<dictionary&>(patchDicts[p]).set
|
||||
(
|
||||
"transform",
|
||||
"noOrdering"
|
||||
//"coincidentFullMatch"
|
||||
"coincidentFullMatch"
|
||||
);
|
||||
|
||||
// Do not create empty processor patches
|
||||
|
||||
Reference in New Issue
Block a user