| 63 | // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // |
| 64 | |
| 65 | void Foam::faceToPoint::combine(topoSet& set, const bool add) const |
| 66 | { |
| 67 | // Load the set |
| 68 | faceSet loadedSet(mesh_, setName_); |
| 69 | |
| 70 | // Add all points from faces in loadedSet |
| 71 | forAllConstIter(faceSet, loadedSet, iter) |
| 72 | { |
| 73 | const face& f = mesh_.faces()[iter.key()]; |
| 74 | |
| 75 | forAll(f, fp) |
| 76 | { |
| 77 | addOrDelete(set, f[fp], add); |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | |
| 83 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected