Skip to content
Snippets Groups Projects
Forked from ogs / ogs
Source project has a limited visibility.
  • Dmitri Naumov's avatar
    40181570
    [MaL] EigenMatrix: set/add values even if 0. · 40181570
    Dmitri Naumov authored and Lars Bilke's avatar Lars Bilke committed
    Under certain circumstances the sparsity pattern will be destroyed and
    adding/setting values would then result in an expensive reallocation.
    
    Assume that in the first global iteration only one half of the values is
    set to non-zero. Before the linear solver is called the sparse matrix is
    compressed thus reducing the allocated space in each row. In the
    subsequent iterations, which might add or set the other half of the
    matrix values reallocations would be necessary.
    40181570
    History
    [MaL] EigenMatrix: set/add values even if 0.
    Dmitri Naumov authored and Lars Bilke's avatar Lars Bilke committed
    Under certain circumstances the sparsity pattern will be destroyed and
    adding/setting values would then result in an expensive reallocation.
    
    Assume that in the first global iteration only one half of the values is
    set to non-zero. Before the linear solver is called the sparse matrix is
    compressed thus reducing the allocated space in each row. In the
    subsequent iterations, which might add or set the other half of the
    matrix values reallocations would be necessary.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.