marcfehling / hpbox

Sandbox for hp-adaptive methods
GNU General Public License v3.0
2 stars 1 forks source link

Feature: compute nonzero entries on demand for matrixfree applications #7

Closed marcfehling closed 1 year ago

marcfehling commented 1 year ago

For scaling plots on the paper, it would be nice to plot runtimes against the number of nonzero entries in the matrix. For matrixbased applications, we can simply ask the matrix object for this. For matrixfree objects, this is not the case.

One way to deal with that is to assemble the finest matrix on demand in matrixfree applications to get the information. This affects runtime heavily, so we should disable this for timing experiments. Easiest way would be to introduce a new parameter log_nonzero_elements for this purpose.

marcfehling commented 1 year ago

Closed by 00d000915ac937d2756694e7fea4d41fad33e67f.