• Alexis SALZMAN's avatar
    [xLinAlg] release constrains in xDistIndex regarding index creation/link · ef5b2684
    Alexis SALZMAN authored
    xDistIndex:
    ===========
    A test in finalize was checking sizes of packed_id and to_from
    containers. Sizes are normally equal. Since now, and in dedicated
    test case it was true as insertToFrom method last call was always done
    after the last call to insertIndex method. The test that check size was
    then logical as insertToFrom resize to_from with the size of packed_id.
    If sizes were different this was a problem.
    
    Now this implicit calling order in between  insertToFrom and insertIndex
    is to constraining and complex to understand for user. This commit with
    a quick dirty fix release this test. Now a message (in debug mode)
    appears and to_from is resized to packed_id size if not of same sizes.
    This let user interleave insertToFrom and insertIndex the way he wants
    (but still with the restriction that insertToFrom only deals with index
     already present in instance).
     A comment in the header was added about that => cf
    
    For now this size coherence checking is no more done but in future we
    may thing about doing things differently so that some checking is added
    in finalize method.
    ef5b2684
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...