Skip to content
Snippets Groups Projects
Forked from ogs / ogs
Source project has a limited visibility.
Dmitri Naumov's avatar
Dmitri Naumov authored
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
Name Last commit Last update