| 122 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 123 | |
| 124 | void Foam::boxToFace::applyToSet |
| 125 | ( |
| 126 | const topoSetSource::setAction action, |
| 127 | topoSet& set |
| 128 | ) const |
| 129 | { |
| 130 | if ((action == topoSetSource::NEW) || (action == topoSetSource::ADD)) |
| 131 | { |
| 132 | Info<< " Adding faces with centre within boxes " << bbs_ << endl; |
| 133 | |
| 134 | combine(set, true); |
| 135 | } |
| 136 | else if (action == topoSetSource::DELETE) |
| 137 | { |
| 138 | Info<< " Removing faces with centre within boxes " << bbs_ << endl; |
| 139 | |
| 140 | combine(set, false); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | |
| 145 | // ************************************************************************* // |