Neighbor of a boundary face
Hi Foamers,
I need to access the neighboring faces of boundary face. I have the following code: label patchID = mesh.boundaryMesh().findPatchID("walls"); const polyPatch& cPatch = mesh.boundaryMesh()[patchID]; forAll(cPatch, facei) { I need to access the neighboring FACES of facei } Thanks in advance! Senthil |
Code:
List<List<bool> > neighbourFace; // a list for each face, I check if there are common points but you can easily modify it to check if there are common edges only. |
Hi anon_a,
Thank you for the help! Cheers! Senthil |
All times are GMT -4. The time now is 22:09. |