• Christophe Geuzaine's avatar
    API change: replaced setNodes/setElements by addNodes/addElements + added · af8b0067
    Christophe Geuzaine authored
    new mesh::clear()
    
    Rationale: setNodes/setElements were intrinsically a bad design choice,
    as these functions had to delete nodes and/or elements before storing the
    new ones. Using these functions in the wrong way could lead to an invalid
    mesh, with elements pointing to nodes that were deleted (in an adjacent
    entity).
    
    The only viable workflow is to delete the mesh (with the new clear()
    function), before adding nodes/elements.
    af8b0067
Name
Last commit
Last update
Common Loading commit data...
Fltk Loading commit data...
Geo Loading commit data...
Graphics Loading commit data...
Mesh Loading commit data...
Numeric Loading commit data...
Parser Loading commit data...
Plugin Loading commit data...
Post Loading commit data...
Solver Loading commit data...
api Loading commit data...
benchmarks Loading commit data...
contrib Loading commit data...
demos Loading commit data...
doc Loading commit data...
tutorial Loading commit data...
utils Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.txt Loading commit data...
CMakeLists.txt Loading commit data...
CREDITS.txt Loading commit data...
LICENSE.txt Loading commit data...
README.txt Loading commit data...