| 332 | |
| 333 | |
| 334 | void Foam::sampledSets::correct() |
| 335 | { |
| 336 | bool setsFound = dict_.found("sets"); |
| 337 | if (setsFound) |
| 338 | { |
| 339 | searchEngine_.correct(); |
| 340 | |
| 341 | PtrList<sampledSet> newList |
| 342 | ( |
| 343 | dict_.lookup("sets"), |
| 344 | sampledSet::iNew(mesh_, searchEngine_) |
| 345 | ); |
| 346 | transfer(newList); |
| 347 | combineSampledSets(masterSampledSets_, indexSets_); |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | |
| 352 | void Foam::sampledSets::updateMesh(const mapPolyMesh& mpm) |