xDomainStringManager::getDomainId("zone")
Potential Bug: in xGeomElem, xDomainStringManager::getDomainId("zone") is used to manage and to get a tag (int) corresponding to the string "zone". This tag is used, after, in Trellis through the function getData(tag) which gives a mAttachableData (xDomainAttachableData).
The use of xDomainStringManager to manage the link between tags and strings may be in conflict with attachableDataIds of AOMD_Util::newMeshDataId which does the same thing: two different maps are used to manage tags of mAttachableData.
In fact, the bug never appears because the tag in xDomainStringManager:getDomainId("zone") is currently 0. This tag corresponds to a not-used tag of attachableDataIds. Note that the first tags declared in attachableDataIds of Trellis through AOMD_Util::newMeshDataId are :
- 0 <-> "_parametric"
-
1 <-> "_parent"
-
2 <-> "_fmod"
-
3 <-> "_emod"
-
4 <-> "_id"
-
5 <-> "_dn"
-
6 <-> "_size"
-
7 <-> "_ATT1"
-
8 <-> "_ATT2"
-
9 <-> "_ATT3"
- 10 <-> "_weight"
- 11 <-> "_mirror"
These tags are not used in Xfem, then 12 different domain names might be managed with xDomainStringManager before the bug appears. This bug should nore affect applications which don't use MaterialManager (typically DamageBand which use xEval to manage materials).