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