| 187 | |
| 188 | |
| 189 | void pointZoneSet::addSet(const topoSet& set) |
| 190 | { |
| 191 | DynamicList<label> newAddressing(addressing_); |
| 192 | |
| 193 | const pointZoneSet& fSet = refCast<const pointZoneSet>(set); |
| 194 | |
| 195 | forAll(fSet.addressing(), i) |
| 196 | { |
| 197 | label pointi = fSet.addressing()[i]; |
| 198 | |
| 199 | if (!found(pointi)) |
| 200 | { |
| 201 | newAddressing.append(pointi); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | addressing_.transfer(newAddressing); |
| 206 | updateSet(); |
| 207 | } |
| 208 | |
| 209 | |
| 210 | void pointZoneSet::deleteSet(const topoSet& set) |