• Benoît LÉ's avatar
    Bug correction following removing of xMesh::del + bug correction · 4ba05f8e
    Benoît LÉ authored
    In TLSGeomInterfaceSignedVectorDistanceFunction, the link-on-front-based modes
    merging uses an xAttachedDataManagerAOMD (called mode_cut_edge in the code) to store, for each iso-zero node of the
    Fast Marching mesh, the parent edge (or node) of the computing mesh. This xAttachedDataManagerAOMD
    is created at the begining of the FM mesh creation, when the iso-zero nodes are
    copied into the FM mesh. Then the FM mesh is created, and after that the modes
    are merged.
    
    The problem is that during the FM mesh creation, some nodes are merged, which
    may in some cases delete some mEntity*, which are keys in mode_cut_edge. Before
    the commit on xMesh::del, it was not a problem, probably because in the previous
    version, the pointer to mEntity was not deleted after calling xMesh::del.
    However after this commit the computation abort in mode_cut_edge destructor (probably because we try to call
    a delete on an mEntity which does not exists anymore).
    
    This has been fixed by properly deleting data from mode_cut_edge before deleting
    the associated key.
    
    Also, minor fix when dealing with warped nodes.
    4ba05f8e
Name
Last commit
Last update
Trellis Loading commit data...
xAnalyticalSolution Loading commit data...
xCrack Loading commit data...
xCut Loading commit data...
xDomainDecomp Loading commit data...
xExport Loading commit data...
xExt Loading commit data...
xFEM Loading commit data...
xFastMarching Loading commit data...
xGeom Loading commit data...
xGraph Loading commit data...
xInterface Loading commit data...
xLinAlg Loading commit data...
xMapping Loading commit data...
xMeshTool Loading commit data...
xOctree Loading commit data...
xPhysics Loading commit data...
xQuadrature Loading commit data...
xTLS Loading commit data...
xTensor Loading commit data...
xTool Loading commit data...
xUtil Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
Ext_dependence.dot Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
Xfiles_dependence.dot Loading commit data...