| 53 | // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // |
| 54 | |
| 55 | void Foam::boxToFace::combine(topoSet& set, const bool add) const |
| 56 | { |
| 57 | const pointField& ctrs = mesh_.faceCentres(); |
| 58 | |
| 59 | forAll(ctrs, facei) |
| 60 | { |
| 61 | forAll(bbs_, i) |
| 62 | { |
| 63 | if (bbs_[i].contains(ctrs[facei])) |
| 64 | { |
| 65 | addOrDelete(set, facei, add); |
| 66 | break; |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | |
| 73 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected