Merge branch 'main' into bgbsww-toponaming-makeElementFace

This commit is contained in:
bgbsww
2024-01-23 08:14:07 -05:00
committed by GitHub
9 changed files with 309 additions and 33 deletions

View File

@@ -384,6 +384,9 @@ void TopoShape::mapSubElementTypeForShape(const TopoShape& other,
}
std::ostringstream ss;
char elementType {shapeName(type)[0]};
if ( ! elementMap() ) {
FC_THROWM(NullShapeException, "No element map");
}
elementMap()->encodeElementName(elementType, name, ss, &sids, Tag, op, other.Tag);
elementMap()->setElementName(element, name, Tag, &sids);
}