| 208 | |
| 209 | |
| 210 | void pointZoneSet::deleteSet(const topoSet& set) |
| 211 | { |
| 212 | DynamicList<label> newAddressing(addressing_.size()); |
| 213 | |
| 214 | const pointZoneSet& fSet = refCast<const pointZoneSet>(set); |
| 215 | |
| 216 | forAll(addressing_, i) |
| 217 | { |
| 218 | label pointi = addressing_[i]; |
| 219 | |
| 220 | if (!fSet.found(pointi)) |
| 221 | { |
| 222 | // Not found in fSet so add |
| 223 | newAddressing.append(pointi); |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | addressing_.transfer(newAddressing); |
| 228 | updateSet(); |
| 229 | } |
| 230 | |
| 231 | |
| 232 | void pointZoneSet::sync(const polyMesh& mesh) |