Toponaming: Squash to one index character in element names
This commit is contained in:
@@ -93,8 +93,6 @@ const char *Data::hasMappedElementName(const char *subname) {
|
||||
return isMappedElement(findElementName(subname));
|
||||
}
|
||||
|
||||
// Currently used by CrossSection.cpp and FeatureTransformed.cpp with different label types
|
||||
// with a default of "I" and "_" used by CrossSection.
|
||||
const std::string Data::indexSuffix(int index, const char *label)
|
||||
{
|
||||
if ( index < 2 ) { // Don't add a suffix for item #1, begin appending at 2
|
||||
|
||||
@@ -69,8 +69,7 @@ constexpr const char* POSTFIX_GEN = ";:G";
|
||||
constexpr const char* POSTFIX_MODGEN = ";:MG";
|
||||
constexpr const char* POSTFIX_DUPLICATE = ";D";
|
||||
|
||||
constexpr const char* ELEMENT_MAP_INDEX = "I";
|
||||
constexpr const char* ELEMENT_MAP_INDEX2 = "_";
|
||||
constexpr const char* ELEMENT_MAP_INDEX = "_";
|
||||
|
||||
/// Check if a subname contains missing element
|
||||
AppExport bool hasMissingElement(const char *subname);
|
||||
|
||||
Reference in New Issue
Block a user