Created
February 15, 2013 16:40
-
-
Save mrklein/4961597 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fvPatchList& patches = mesh.boundary(); | |
forAll(patches, patchi) | |
{ | |
const fvPatch& curPatch = patches[patchi]; | |
if (isType<wallFvPatch>(curPatch)) | |
{ | |
forAll(curPatch, facei) | |
{ | |
label faceCelli = curPatch.faceCells()[facei]; | |
//your stuff | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment