Skip to content
Snippets Groups Projects
Commit 3839f747 authored by Will Bainbridge's avatar Will Bainbridge Committed by Andrew Heather
Browse files

ENH: foamyHexMesh: Generate coincident-full-match processor patches

parent 47979d18
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment