2 IOdictionary planeToPatchDict
16 planeToPatchDict.lookup("mappingPlane")
19 Info << "Constructing planePatch" << endl;
20 cuttingPlane cut(mesh, plane(planeToPatchDict));
22 primitiveFacePatch planePatch
28 Info << "Finding target patch" << endl;
32 planeToPatchDict.lookup("targetPatchName")
35 const fvPatchList& patches = mesh.boundary();
36 bool targetPatchNamePresent(false);
37 label targetPatchNumber = -1;
39 forAll(patches, patchI)
41 if(patches[patchI].name() == toPatchName)
43 targetPatchNamePresent = true;
44 targetPatchNumber = patchI;
48 const labelList& cutCells(cut.cells());
50 if(!targetPatchNamePresent)
52 targetPatchNumber = 1;
53 Serr << "Target patch not present. " << endl;
57 Serr << "Target patch name: " << patches[targetPatchNumber].name()
61 patchToPatchInterpolation interPatch
64 patches[targetPatchNumber].patch()
68 PrimitivePatchInterpolation
70 PrimitivePatch<face, List, const pointField&>
76 PrimitivePatchInterpolation
78 PrimitivePatch<face, List, const pointField&>
81 patches[targetPatchNumber].patch()