| 316 | } |
| 317 | |
| 318 | ElementMapPtr ComplexGeoData::resetElementMap(ElementMapPtr elementMap) |
| 319 | { |
| 320 | _elementMap.swap(elementMap); |
| 321 | // We expect that if the ComplexGeoData ( TopoShape ) has a hasher, then its elementMap will |
| 322 | // have the same one. Make sure that happens. |
| 323 | if (_elementMap && !_elementMap->hasher) { |
| 324 | _elementMap->hasher = Hasher; |
| 325 | } |
| 326 | return elementMap; |
| 327 | } |
| 328 | |
| 329 | std::vector<MappedElement> ComplexGeoData::getElementMap() const |
| 330 | { |
no test coverage detected