← Back to team overview

dolfin team mailing list archive

Re: [UFC-dev] Zeros in matrices

 

Anders Logg wrote:
> We could add something like
>
>     void tabulate_nonzero_entries(bool* nonzero_entries);
>
> to go along with tabulate_tensor() in the UFC interface.

I think the simplest solution is to do this at the linear algebra
level, ie make a call to the CRS matrix to make it compact its storage
by removing zeros. I believe this functionality already exists in many
linear algebra classes.

martin


Follow ups

References